From 59c4fe93ee30c8182ae1a29267b9c08602e2f6c5 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 2 Sep 2009 00:34:37 +0100 Subject: [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. --- src/cairo-xlib-surface-private.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/cairo-xlib-surface-private.h') 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; -- cgit v1.2.3