Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 878 → Rev 879

/programs/system/drivers/ati2d/accel_2d.h
1,15 → 1,14
 
#define PX_CREATE 1
#define PX_DESTROY 2
#define PX_DRAW_RECT 3
#define PX_FILL_RECT 4
#define PX_LINE 5
#define PX_BLIT 6
#define PX_BLIT_TRANSPARENT 7
#define PX_BLIT_ALPHA 8
#define PX_CLEAR 3
#define PX_DRAW_RECT 4
#define PX_FILL_RECT 5
#define PX_LINE 6
#define PX_BLIT 7
#define PX_BLIT_TRANSPARENT 8
#define PX_BLIT_ALPHA 9
 
//#define BLIT 4
//#define COMPIZ 5
 
 
typedef unsigned int color_t;
65,10 → 64,6
void *local;
}local_pixmap_t;
 
//int CreatePixmap(userpixmap_t *io);
//int DestroyPixmap(userpixmap_t *io);
//int LockPixmap(userpixmap_t *io);
//int UnlockPixmap(userpixmap_t *io);
 
#define PX_LOCK 1
 
76,6 → 71,13
{
local_pixmap_t *dstpix;
 
color_t color;
}io_clear_t;
 
typedef struct
{
local_pixmap_t *dstpix;
 
struct
{
int x0;
96,7 → 98,7
};
color_t color;
color_t border;
}draw_t;
}io_draw_t;
 
typedef struct
{
112,20 → 114,11
 
u32_t bmp0;
u32_t bmp1;
}fill_t;
color_t border;
}io_fill_t;
 
typedef struct
{
int src_x;
int src_y;
int dst_x;
int dst_y;
int w;
int h;
}blit_t;
 
typedef struct
{
local_pixmap_t *dstpix;
int dst_x;
int dst_y;
135,21 → 128,27
int src_y;
int w;
int h;
}pixblit_t;
 
color_t key;
}io_blit_t;
 
int Line2P(draw_t *draw);
 
int DrawRect(draw_t * draw);
int FillRect(fill_t * fill);
int CreatePixmap(pixmap_t *io);
 
int Blit(blit_t *blit);
int DestroyPixmap(pixmap_t *io);
 
int RadeonComposite( blit_t *blit);
int ClearPixmap(io_clear_t *io);
 
int Line(io_draw_t *draw);
 
int PixBlit(pixblit_t* blit);
int DrawRect(io_draw_t * draw);
 
int FillRect(io_fill_t * fill);
 
int Blit(io_blit_t* blit);
 
int BlitTransparent(io_blit_t* blit);