summaryrefslogtreecommitdiff
path: root/src/cairo-xlib-surface-private.h
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2008-03-19 14:23:35 -0700
committerCarl Worth <cworth@cworth.org>2008-03-20 11:51:57 -0700
commitd413c5ab21efb2ccc6a4847ff387f8e39ba2f3e1 (patch)
treea98c9de44b6b36d17d19c398951977380c0e1800 /src/cairo-xlib-surface-private.h
parentaeaec94fd03b9098efce9d7455f813acf22ec026 (diff)
xlib: Add support for arbitrary TrueColor visuals
This fixes the following bugs: cairo doesn't support 8-bit truecolor visuals https://bugs.freedesktop.org/show_bug.cgi?id=7735 cairo doesn't support 655 xlib format https://bugs.freedesktop.org/show_bug.cgi?id=9719
Diffstat (limited to 'src/cairo-xlib-surface-private.h')
-rw-r--r--src/cairo-xlib-surface-private.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cairo-xlib-surface-private.h b/src/cairo-xlib-surface-private.h
index e5ccf905..d5df19ca 100644
--- a/src/cairo-xlib-surface-private.h
+++ b/src/cairo-xlib-surface-private.h
@@ -91,6 +91,11 @@ struct _cairo_xlib_surface {
cairo_filter_t filter;
int repeat;
XTransform xtransform;
+
+ uint32_t a_mask;
+ uint32_t r_mask;
+ uint32_t g_mask;
+ uint32_t b_mask;
};
enum {