Rev 3280 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3280 | Rev 3291 | ||
---|---|---|---|
Line 8... | Line 8... | ||
8 | 8 | ||
Line 9... | Line 9... | ||
9 | #define GRADIENT_CACHE_SIZE 16 |
9 | #define GRADIENT_CACHE_SIZE 16 |
Line -... | Line 10... | ||
- | 10 | ||
- | 11 | #define GXinvalid 0xff |
|
- | 12 | ||
- | 13 | #define HW_BIT_BLIT (1<<0) /* BGRX blitter */ |
|
10 | 14 | #define HW_TEX_BLIT (1<<1) /* stretch blit */ |
|
11 | #define GXinvalid 0xff |
15 | #define HW_VID_BLIT (1<<2) /* planar and packed video */ |
12 | 16 | ||
13 | struct sna; |
17 | struct sna; |
14 | struct sna_glyph; |
18 | struct sna_glyph; |
Line 150... | Line 154... | ||
150 | }; |
154 | }; |
Line 151... | Line 155... | ||
151 | 155 | ||
152 | struct sna_render { |
156 | struct sna_render { |
Line -... | Line 157... | ||
- | 157 | int active; |
|
- | 158 | ||
153 | int active; |
159 | int caps; |
154 | 160 | ||
Line 155... | Line 161... | ||
155 | int max_3d_size; |
161 | int max_3d_size; |
156 | int max_3d_pitch; |
162 | int max_3d_pitch; |
157 | 163 | ||
158 | unsigned prefer_gpu; |
164 | unsigned prefer_gpu; |
Line 159... | Line -... | ||
159 | #define PREFER_GPU_BLT 0x1 |
- | |
160 | #define PREFER_GPU_RENDER 0x2 |
165 | #define PREFER_GPU_BLT 0x1 |
161 | #define PREFER_GPU_SPANS 0x4 |
166 | #define PREFER_GPU_RENDER 0x2 |
162 | 167 | #define PREFER_GPU_SPANS 0x4 |
|
163 | 168 | ||
164 | bool (*composite)(struct sna *sna, uint8_t op, |
169 | bool (*composite)(struct sna *sna, uint8_t op, |