summaryrefslogtreecommitdiff
path: root/src/i830.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-07-15 14:15:10 -0700
committerEric Anholt <eric@anholt.net>2009-07-15 15:11:21 -0700
commita1e6abb5ca89d699144d10fdc4309b3b78f2f7a9 (patch)
treeb8586f74da6f0fde4dbeba5059e73b0a717790bb /src/i830.h
parente386e7b14b139f15205e14b173e8222bf38d9e18 (diff)
Use batch_start_atomic to fix batchbuffer wrapping problems with 8xx render.
Bug #22483.
Diffstat (limited to 'src/i830.h')
-rw-r--r--src/i830.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/i830.h b/src/i830.h
index f7ca687d..ec576620 100644
--- a/src/i830.h
+++ b/src/i830.h
@@ -468,6 +468,14 @@ typedef struct _I830Rec {
/** Transform pointers for src/mask, or NULL if identity */
PictTransform *transform[2];
float coord_adjust;
+
+ /* i830 render accel state */
+ PixmapPtr render_src, render_mask, render_dst;
+ PicturePtr render_src_picture, render_mask_picture, render_dst_picture;
+ uint32_t render_dst_format;
+ Bool needs_render_state_emit;
+ uint32_t cblend, ablend, s8_blendctl;
+
/* i915 render accel state */
uint32_t mapstate[6];
uint32_t samplerstate[6];
@@ -790,6 +798,7 @@ Bool i915_prepare_composite(int op, PicturePtr pSrc, PicturePtr pMask,
void i915_composite(PixmapPtr pDst, int srcX, int srcY,
int maskX, int maskY, int dstX, int dstY, int w, int h);
void i915_batch_flush_notify(ScrnInfoPtr pScrn);
+void i830_batch_flush_notify(ScrnInfoPtr scrn);
/* i965_render.c */
unsigned int gen4_render_state_size(ScrnInfoPtr pScrn);
void gen4_render_state_init(ScrnInfoPtr pScrn);