Rev 3263 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3263 | Rev 3278 | ||
---|---|---|---|
Line 45... | Line 45... | ||
45 | uint16_t width, height; |
45 | uint16_t width, height; |
46 | } dst; |
46 | } dst; |
Line 47... | Line 47... | ||
47 | 47 | ||
48 | struct sna_composite_channel { |
48 | struct sna_composite_channel { |
49 | struct kgem_bo *bo; |
49 | struct kgem_bo *bo; |
50 | // PictTransform *transform; |
50 | PictTransform *transform; |
51 | uint16_t width; |
51 | uint16_t width; |
52 | uint16_t height; |
52 | uint16_t height; |
53 | uint32_t pict_format; |
53 | uint32_t pict_format; |
54 | uint32_t card_format; |
54 | uint32_t card_format; |
Line 158... | Line 158... | ||
158 | unsigned prefer_gpu; |
158 | unsigned prefer_gpu; |
159 | #define PREFER_GPU_BLT 0x1 |
159 | #define PREFER_GPU_BLT 0x1 |
160 | #define PREFER_GPU_RENDER 0x2 |
160 | #define PREFER_GPU_RENDER 0x2 |
161 | #define PREFER_GPU_SPANS 0x4 |
161 | #define PREFER_GPU_SPANS 0x4 |
Line 162... | Line -... | ||
162 | - | ||
Line 163... | Line 162... | ||
163 | #if 0 |
162 | |
164 | 163 | ||
165 | bool (*composite)(struct sna *sna, uint8_t op, |
164 | bool (*composite)(struct sna *sna, uint8_t op, |
166 | PicturePtr dst, PicturePtr src, PicturePtr mask, |
165 | PicturePtr dst, PicturePtr src, PicturePtr mask, |
167 | int16_t src_x, int16_t src_y, |
166 | int16_t src_x, int16_t src_y, |
168 | int16_t msk_x, int16_t msk_y, |
167 | int16_t msk_x, int16_t msk_y, |
169 | int16_t dst_x, int16_t dst_y, |
168 | int16_t dst_x, int16_t dst_y, |
Line -... | Line 169... | ||
- | 169 | int16_t w, int16_t h, |
|
170 | int16_t w, int16_t h, |
170 | struct sna_composite_op *tmp); |
171 | struct sna_composite_op *tmp); |
171 | |
172 | 172 | #if 0 |
|
173 | bool (*check_composite_spans)(struct sna *sna, uint8_t op, |
173 | bool (*check_composite_spans)(struct sna *sna, uint8_t op, |
174 | PicturePtr dst, PicturePtr src, |
174 | PicturePtr dst, PicturePtr src, |