summaryrefslogtreecommitdiff
path: root/src/i830.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-06-01 22:31:35 +0100
committerOwain G. Ainsworth <oga@openbsd.org>2010-06-07 20:47:38 +0100
commitf838c2a6820954576ec61d273162c74850ff58de (patch)
tree64085c57c6251a2b735f722f3b16ccaa547f50cd /src/i830.h
parent35c721949bc4e137475ba1aa0b075336a0161661 (diff)
i915; Avoid the implicit flush on changing BUF_INFO
3DSTATE_BUF_INFO is an implicit flush of the piepline, so avoid emitting that and associated state unless the destination pixmap has actually changed. This is a win of around 3-5% for cairo-perf-trace, notably for firefox. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> (cherry picked from commit f74b3f82bab11463a0f4de9f614fc6aa1492ef24) Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
Diffstat (limited to 'src/i830.h')
-rw-r--r--src/i830.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i830.h b/src/i830.h
index 32792836..d79b9e86 100644
--- a/src/i830.h
+++ b/src/i830.h
@@ -570,6 +570,7 @@ typedef struct intel_screen_private {
PicturePtr render_source_picture, render_mask_picture, render_dest_picture;
CARD32 render_source_solid;
CARD32 render_mask_solid;
+ PixmapPtr render_current_dest;
Bool render_source_is_solid;
Bool render_mask_is_solid;
Bool needs_render_state_emit;