summaryrefslogtreecommitdiff
path: root/src/cairo-xlib-surface-private.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-09-02 00:34:37 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2009-09-02 00:34:37 +0100
commit59c4fe93ee30c8182ae1a29267b9c08602e2f6c5 (patch)
treea7be9ea3690aa81a1ab255db0bb7963cd7068229 /src/cairo-xlib-surface-private.h
parent075fc5666abe006c434bf7ec28d2d4f0226a1d3a (diff)
[xlib] Eliminate GC clipping
Eradicate the use of clipping with GC. By never using clipping, we never have to worry about retrieving a dirty clip from the GC cache.
Diffstat (limited to 'src/cairo-xlib-surface-private.h')
-rw-r--r--src/cairo-xlib-surface-private.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cairo-xlib-surface-private.h b/src/cairo-xlib-surface-private.h
index b3cbe045..f8215696 100644
--- a/src/cairo-xlib-surface-private.h
+++ b/src/cairo-xlib-surface-private.h
@@ -49,7 +49,6 @@ struct _cairo_xlib_surface {
cairo_xlib_screen_t *screen;
cairo_xlib_hook_t close_display_hook;
- GC gc;
Drawable drawable;
cairo_bool_t owns_pixmap;
Visual *visual;
@@ -88,7 +87,6 @@ struct _cairo_xlib_surface {
Picture dst_picture, src_picture;
unsigned int clip_dirty;
- cairo_bool_t gc_has_clip_rects;
XRectangle embedded_clip_rects[8];
XRectangle *clip_rects;
int num_clip_rects;