diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-05-27 15:59:37 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-06-01 16:50:25 +0100 |
commit | 63bdae27a83381fb8c3786c2d7a6c2592e388ee9 (patch) | |
tree | 1897d8eac8bf89bfdc1fb6c99a1ee59b044e5143 /src/cairo-xcb-private.h | |
parent | e21b373c94b1edb2828d4fee7ff45060fb22dbda (diff) | |
download | cairo-63bdae27a83381fb8c3786c2d7a6c2592e388ee9.tar.gz |
xlib,xcb: Force strict adherence to the Render specification when testing
Introduce cairo_xlib_device_debug_set_precision() to override the
automatic selection of rendering precision and force the Xorg/DDX to
strictly adhere to the precise rendering mode of the Render
specification. This allows us to test drivers without worrying, too
much, about minor discrepancies in antialiasing.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/cairo-xcb-private.h')
-rw-r--r-- | src/cairo-xcb-private.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cairo-xcb-private.h b/src/cairo-xcb-private.h index be6ca4415..ae6027edf 100644 --- a/src/cairo-xcb-private.h +++ b/src/cairo-xcb-private.h @@ -96,6 +96,7 @@ struct _cairo_xcb_surface { xcb_render_picture_t picture; xcb_render_pictformat_t xrender_format; pixman_format_code_t pixman_format; + uint32_t precision; cairo_list_t link; }; @@ -178,6 +179,8 @@ struct _cairo_xcb_connection { unsigned int maximum_request_length; unsigned int flags; + int force_precision; + const xcb_setup_t *root; const xcb_query_extension_reply_t *render; const xcb_query_extension_reply_t *shm; |