summaryrefslogtreecommitdiff
path: root/src/cairo-xcb-private.h
diff options
context:
space:
mode:
authorUli Schlachter <psychon@znc.in>2011-07-21 15:28:18 +0200
committerUli Schlachter <psychon@znc.in>2011-07-21 16:51:26 +0200
commit83df0ab2b6ccaf623303b606a99303b5d054b145 (patch)
treeb5a8e918294945c7b20cd4d036b484ec791e05bd /src/cairo-xcb-private.h
parent99628d06cd7943bf20e84a050595c33da6e3ff7d (diff)
downloadcairo-83df0ab2b6ccaf623303b606a99303b5d054b145.tar.gz
XCB: Store the flags per-connection only
Every xcb surface had its own copy of the flags from the time that it was created. This means that, if you want to make use of cairo_xcb_device_debug_cap_xrender_version() and cairo_xcb_device_debug_cap_xshm_version(), you first had to create a dummy xcb surface, use that to get access to the cairo_device_t so that you can use these functions and only then create your real surface, because the change only affected new surfaces. This commit changes everything to use the connection's flag and removes the per-surface flags. This avoids the dummy surfaces completely. Signed-off-by: Uli Schlachter <psychon@znc.in>
Diffstat (limited to 'src/cairo-xcb-private.h')
-rw-r--r--src/cairo-xcb-private.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cairo-xcb-private.h b/src/cairo-xcb-private.h
index 1a81cef3d..f2e9516d5 100644
--- a/src/cairo-xcb-private.h
+++ b/src/cairo-xcb-private.h
@@ -96,7 +96,6 @@ struct _cairo_xcb_surface {
int height;
int depth;
- unsigned int flags;
xcb_render_picture_t picture;
xcb_render_pictformat_t xrender_format;
pixman_format_code_t pixman_format;