Rev 3291 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3291 | Rev 3769 | ||
---|---|---|---|
Line 7... | Line 7... | ||
7 | #include |
7 | #include |
Line 8... | Line 8... | ||
8 | 8 | ||
Line 9... | Line 9... | ||
9 | #define GRADIENT_CACHE_SIZE 16 |
9 | #define GRADIENT_CACHE_SIZE 16 |
10 | 10 | ||
11 | #define GXinvalid 0xff |
11 | #define GXinvalid 0xff |
12 | 12 | ||
13 | #define HW_BIT_BLIT (1<<0) /* BGRX blitter */ |
13 | #define HW_BIT_BLIT (1<<0) /* BGRX blitter */ |
Line 14... | Line 14... | ||
14 | #define HW_TEX_BLIT (1<<1) /* stretch blit */ |
14 | #define HW_TEX_BLIT (1<<1) /* stretch blit */ |
15 | #define HW_VID_BLIT (1<<2) /* planar and packed video */ |
15 | #define HW_VID_BLIT (1<<2) /* planar and packed video */ |
16 | 16 | ||
17 | struct sna; |
17 | struct sna; |
Line 152... | Line 152... | ||
152 | int16_t dx, int16_t dy); |
152 | int16_t dx, int16_t dy); |
153 | void (*done)(struct sna *sna, const struct sna_copy_op *op); |
153 | void (*done)(struct sna *sna, const struct sna_copy_op *op); |
154 | }; |
154 | }; |
Line 155... | Line 155... | ||
155 | 155 | ||
156 | struct sna_render { |
156 | struct sna_render { |
157 | int active; |
157 | int active; |
158 | 158 | ||
Line 159... | Line 159... | ||
159 | int caps; |
159 | int caps; |
160 | 160 | ||
Line 221... | Line 221... | ||
221 | #define COPY_SYNC 0x2 |
221 | #define COPY_SYNC 0x2 |
Line 222... | Line 222... | ||
222 | 222 | ||
Line 223... | Line 223... | ||
223 | #endif |
223 | #endif |
224 | 224 | ||
225 | bool (*blit_tex)(struct sna *sna, |
225 | bool (*blit_tex)(struct sna *sna, |
226 | uint8_t op, |
226 | uint8_t op, bool scale, |
227 | PixmapPtr src, struct kgem_bo *src_bo, |
227 | PixmapPtr src, struct kgem_bo *src_bo, |
228 | PixmapPtr mask,struct kgem_bo *mask_bo, |
228 | PixmapPtr mask,struct kgem_bo *mask_bo, |
229 | PixmapPtr dst, struct kgem_bo *dst_bo, |
229 | PixmapPtr dst, struct kgem_bo *dst_bo, |