Rev 815 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 815 | Rev 817 | ||
---|---|---|---|
Line 4... | Line 4... | ||
4 | #define BLIT 4 |
4 | #define BLIT 4 |
5 | #define COMPIZ 5 |
5 | #define COMPIZ 5 |
6 | #define PIXMAP 6 |
6 | #define PIXMAP 6 |
7 | #define PIXBLIT 7 |
7 | #define PIXBLIT 7 |
8 | 8 | #define PIXLOCK 8 |
|
- | 9 | ||
- | 10 | ||
Line 9... | Line 11... | ||
9 | typedef unsigned int color_t; |
11 | typedef unsigned int color_t; |
Line 10... | Line 12... | ||
10 | 12 | ||
11 | typedef struct |
13 | typedef struct |
- | 14 | { |
|
- | 15 | pixmap_t *dstpix; |
|
12 | { |
16 | |
13 | int x; |
17 | int x; |
14 | int y; |
18 | int y; |
15 | int w; |
19 | u32_t w; |
16 | int h; |
20 | u32_t h; |
17 | u32 color; |
21 | color_t color; |
Line 18... | Line 22... | ||
18 | }draw_t; |
22 | }draw_t; |
19 | 23 | ||
- | 24 | typedef struct |
|
- | 25 | { |
|
20 | typedef struct |
26 | pixmap_t *dstpix; |
21 | { |
27 | |
22 | int x; |
28 | int x; |
23 | int y; |
29 | int y; |
Line 51... | Line 57... | ||
51 | }line2p_t; |
57 | }line2p_t; |
52 | 58 | ||
Line 53... | Line 59... | ||
53 | typedef struct |
59 | typedef struct |
54 | { |
60 | { |
55 | u32_t pixmap; |
61 | pixmap_t *pixmap; |
- | 62 | void *usermap; |
|
56 | u32_t format; |
63 | u32_t format; |
- | 64 | u32_t pitch; |
|
- | 65 | ||
57 | u32_t width; |
66 | u32_t width; |
58 | u32_t height; |
67 | u32_t height; |
59 | u32_t pitch; |
- | |
60 | }new_pixmap_t; |
68 | }userpixmap_t; |
Line 61... | Line 69... | ||
61 | 69 | ||
62 | typedef struct |
70 | typedef struct |
63 | { |
71 | { |
64 | pixmap_t *dstpix; |
72 | pixmap_t *dstpix; |
Line 84... | Line 92... | ||
84 | int Blit(blit_t *blit); |
92 | int Blit(blit_t *blit); |
Line 85... | Line 93... | ||
85 | 93 | ||
Line 86... | Line 94... | ||
86 | int RadeonComposite( blit_t *blit); |
94 | int RadeonComposite( blit_t *blit); |
Line 87... | Line 95... | ||
87 | 95 | ||
Line -... | Line 96... | ||
- | 96 | int CreatePixmap(userpixmap_t *io); |
|
- | 97 | ||
88 | int CreatePixmap(new_pixmap_t *io); |
98 | int PixBlit(pixblit_t* blit); |
89 | 99 | ||
90 | int PixBlit(pixblit_t* blit); |
100 | int LockPixmap(userpixmap_t *io); |
91 | 101 | ||
92 | # define RADEON_GMC_SRC_PITCH_OFFSET_CNTL (1 << 0) |
102 | # define RADEON_GMC_SRC_PITCH_OFFSET_CNTL (1 << 0) |