summaryrefslogtreecommitdiff
path: root/src/cairo-xcb-private.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-07-19 11:29:49 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2011-07-20 13:19:38 +0100
commitd5d4a0f24031580db93d3b7909482687458718e2 (patch)
tree2b3b4082648f83d03baa073d91d832a3c4eb322a /src/cairo-xcb-private.h
parentb419fdcacd636dc2274695f922f758a8b521ca01 (diff)
xcb: Take advantage of clip-boxes
A demonstration of step 2, improves performance for selected benchmarks on selected GPUs by up to 30%. firefox-fishbowl on snb {i5-2520m): 42s -> 29s. firefox-talos-gfx on snb: 7.6 -> 5.2s. firefox-fishbowl on pnv (n450): 380 -> 360s. Whist this looks like it is getting close to as good as we can achieve, we are constrained by both our API and Xrender and fishbowl is about 50% slower than peak performance (on snb). And it fixes the older performance regression in firefox-planet-gnome. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/cairo-xcb-private.h')
-rw-r--r--src/cairo-xcb-private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cairo-xcb-private.h b/src/cairo-xcb-private.h
index d52306ec..1a81cef3 100644
--- a/src/cairo-xcb-private.h
+++ b/src/cairo-xcb-private.h
@@ -90,6 +90,7 @@ struct _cairo_xcb_surface {
int use_pixmap;
cairo_bool_t deferred_clear;
+ cairo_color_t deferred_clear_color;
int width;
int height;