diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-06-01 22:31:35 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-06-01 23:15:02 +0100 |
commit | f74b3f82bab11463a0f4de9f614fc6aa1492ef24 (patch) | |
tree | 51ca8083070a19e3dca1b9800eb9ecd5d32daa92 /src/i830.h | |
parent | f2272402035574c206a0e3383c55373c440fd928 (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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |