summaryrefslogtreecommitdiff
path: root/src/i830.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-05-18 23:25:59 +0100
committerOwain G. Ainsworth <oga@openbsd.org>2010-05-25 16:23:21 +0100
commit1e7f08c3d8bd261db866d3ef1c7fc27d08d727a0 (patch)
tree345fcee18bc0f9c07b29dc6270193c66e837ad01 /src/i830.h
parente2dabf379d9c1ed95899b3658661c6c57acbb509 (diff)
i915: amalgamate composite into a single primitive list
Combine all the calls to composite between prepare_composite and done_composite into a single primitive list, rather than a primitive call per composite(). Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> (cherry picked from commit 4a3476ea094e84887fefb558e0bba023fee34151) Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
Diffstat (limited to 'src/i830.h')
-rw-r--r--src/i830.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/i830.h b/src/i830.h
index d89dcdf9..099fbff4 100644
--- a/src/i830.h
+++ b/src/i830.h
@@ -535,6 +535,7 @@ typedef struct intel_screen_private {
CloseScreenProcPtr CloseScreen;
+ void (*vertex_flush) (struct intel_screen_private *intel);
void (*batch_flush_notify) (ScrnInfoPtr scrn);
uxa_driver_t *uxa_driver;
@@ -602,6 +603,9 @@ typedef struct intel_screen_private {
uint32_t dst_format;
} i915_render_state;
+ uint32_t prim_offset;
+ uint32_t prim_count;
+
/* 965 render acceleration state */
struct gen4_render_state *gen4_render_state;
@@ -925,6 +929,7 @@ Bool i915_prepare_composite(int op, PicturePtr sourcec, PicturePtr mask,
PixmapPtr maskPixmap, PixmapPtr destPixmap);
void i915_composite(PixmapPtr dest, int srcX, int srcY,
int maskX, int maskY, int dstX, int dstY, int w, int h);
+void i915_vertex_flush(intel_screen_private *intel);
void i915_batch_flush_notify(ScrnInfoPtr scrn);
void i830_batch_flush_notify(ScrnInfoPtr scrn);
/* i965_render.c */