diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2008-11-19 14:25:20 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2008-11-19 17:11:49 +0000 |
commit | 727ff2bd7260f26c9390079258c43e6890ef2284 (patch) | |
tree | e91af8c9418c5c3ad68ba59f13d8491cb8e3686c /src/cairo-xlib-surface-private.h | |
parent | 63a86a470fb88ee876414164e7e26789c1065b82 (diff) | |
download | cairo-727ff2bd7260f26c9390079258c43e6890ef2284.tar.gz |
[xlib] Explicitly track whether the GC has clip_rects.
Simplify the logic and remove some pessimism from the code by explicitly
tracking when we set clip rectangles on the GC.
Diffstat (limited to 'src/cairo-xlib-surface-private.h')
-rw-r--r-- | src/cairo-xlib-surface-private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cairo-xlib-surface-private.h b/src/cairo-xlib-surface-private.h index e06fd978c..87be9e6a9 100644 --- a/src/cairo-xlib-surface-private.h +++ b/src/cairo-xlib-surface-private.h @@ -85,6 +85,7 @@ struct _cairo_xlib_surface { unsigned int clip_dirty; cairo_bool_t have_clip_rects; + cairo_bool_t gc_has_clip_rects; XRectangle embedded_clip_rects[4]; XRectangle *clip_rects; int num_clip_rects; |