summaryrefslogtreecommitdiff
path: root/src/cairo-xlib-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-private.h
parent075fc5666abe006c434bf7ec28d2d4f0226a1d3a (diff)
downloadcairo-59c4fe93ee30c8182ae1a29267b9c08602e2f6c5.tar.gz
[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-private.h')
-rw-r--r--src/cairo-xlib-private.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/cairo-xlib-private.h b/src/cairo-xlib-private.h
index e92bb942e..33601e890 100644
--- a/src/cairo-xlib-private.h
+++ b/src/cairo-xlib-private.h
@@ -85,7 +85,7 @@ struct _cairo_xlib_screen {
cairo_font_options_t font_options;
GC gc[4];
- int gc_depths; /* 4 x uint8_t, high bit == needs reset */
+ int gc_depths; /* 4 x uint8_t */
cairo_array_t visuals;
};
@@ -171,15 +171,13 @@ _cairo_xlib_screen_close_display (cairo_xlib_screen_t *info);
cairo_private GC
_cairo_xlib_screen_get_gc (cairo_xlib_screen_t *info,
- unsigned int depth,
- Drawable drawable,
- unsigned int *need_reset);
+ int depth,
+ Drawable drawable);
cairo_private void
_cairo_xlib_screen_put_gc (cairo_xlib_screen_t *info,
- unsigned int depth,
- GC gc,
- cairo_bool_t reset_clip);
+ int depth,
+ GC gc);
cairo_private cairo_font_options_t *
_cairo_xlib_screen_get_font_options (cairo_xlib_screen_t *info);