Subversion Repositories Kolibri OS

Rev

Rev 813 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 813 Rev 815
Line 2... Line 2...
2
#define DRAW_RECT  2
2
#define DRAW_RECT  2
3
#define LINE_2P    3
3
#define LINE_2P    3
4
#define BLIT       4
4
#define BLIT       4
5
#define COMPIZ     5
5
#define COMPIZ     5
6
 
6
#define PIXMAP     6
-
 
7
#define PIXBLIT    7
-
 
8
 
Line 7... Line 9...
7
typedef unsigned int color_t;
9
typedef unsigned int color_t;
Line 8... Line 10...
8
 
10
 
9
typedef struct
11
typedef struct
Line 47... Line 49...
47
  int y1;
49
  int y1;
48
  u32 color;
50
  u32 color;
49
}line2p_t;
51
}line2p_t;
50
 
52
 
Line -... Line 53...
-
 
53
typedef struct
-
 
54
{
-
 
55
  u32_t pixmap;
-
 
56
  u32_t format;
-
 
57
  u32_t width;
-
 
58
  u32_t height;
-
 
59
  u32_t pitch;
-
 
60
}new_pixmap_t;
-
 
61
 
-
 
62
typedef struct
-
 
63
{
-
 
64
  pixmap_t  *dstpix;
-
 
65
  int       dst_x;
-
 
66
  int       dst_y;
-
 
67
 
-
 
68
  pixmap_t  *srcpix;
-
 
69
  int       src_x;
-
 
70
  int       src_y;
-
 
71
  int       w;
-
 
72
  int       h;
-
 
73
}pixblit_t;
-
 
74
 
-
 
75
 
51
int LineClip( int *x1, int *y1, int *x2, int *y2 );
76
int LineClip( int *x1, int *y1, int *x2, int *y2 );
52
int BlockClip( int *x1, int *y1, int *x2, int* y2);
77
int BlockClip( int *x1, int *y1, int *x2, int* y2);
Line 53... Line 78...
53
 
78
 
54
int DrawRect(draw_t * draw);
79
int DrawRect(draw_t * draw);
Line 55... Line 80...
55
int FillRect(fill_t * fill);
80
int FillRect(fill_t * fill);
Line 56... Line 81...
56
 
81
 
Line 57... Line -...
57
int Line2P(line2p_t *draw);
-
 
58
 
82
int Line2P(line2p_t *draw);
Line -... Line 83...
-
 
83
 
-
 
84
int Blit(blit_t *blit);
-
 
85
 
Line 59... Line 86...
59
int Blit(blit_t *blit);
86
int RadeonComposite( blit_t *blit);
60
 
87
 
61
 
88
int CreatePixmap(new_pixmap_t *io);
62
int RadeonComposite( blit_t *blit);
89