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
committerChris Wilson <chris@chris-wilson.co.uk>2010-06-01 23:15:02 +0100
commitf74b3f82bab11463a0f4de9f614fc6aa1492ef24 (patch)
tree51ca8083070a19e3dca1b9800eb9ecd5d32daa92 /src/i830.h
parentf2272402035574c206a0e3383c55373c440fd928 (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>
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 e410ec18..9a46af06 100644
--- a/src/i830.h
+++ b/src/i830.h
@@ -340,6 +340,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;