summaryrefslogtreecommitdiff
path: root/boilerplate/cairo-boilerplate-xcb.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-09-16 11:09:22 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2011-09-16 11:09:22 +0100
commitfcea0f8e08e2fbd448a990b60be0cf16535b45a5 (patch)
tree0363ec00615fdfed7519949c9b04df7f4921b13b /boilerplate/cairo-boilerplate-xcb.c
parent62e1ded35c4d8d3139152661afea61b628152d47 (diff)
downloadcairo-fcea0f8e08e2fbd448a990b60be0cf16535b45a5.tar.gz
test: Use the test-traps as the reference images for xlib/xcb
The test-traps provides a reference implementation of the traps-compositor as used by xlib, so we can use it to generate the reference images as well. (Of course checking that test-traps is itself correct and only differs in the renderer! ;-) Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'boilerplate/cairo-boilerplate-xcb.c')
-rw-r--r--boilerplate/cairo-boilerplate-xcb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/boilerplate/cairo-boilerplate-xcb.c b/boilerplate/cairo-boilerplate-xcb.c
index 34a0b029c..abb982b01 100644
--- a/boilerplate/cairo-boilerplate-xcb.c
+++ b/boilerplate/cairo-boilerplate-xcb.c
@@ -771,7 +771,7 @@ static const cairo_boilerplate_target_t targets[] = {
/* Acceleration architectures may make the results differ by a
* bit, so we set the error tolerance to 1. */
{
- "xcb", "xlib", NULL, NULL,
+ "xcb", "traps", NULL, NULL,
CAIRO_SURFACE_TYPE_XCB, CAIRO_CONTENT_COLOR_ALPHA, 1,
"cairo_xcb_surface_create_with_xrender_format",
_cairo_boilerplate_xcb_create_surface,
@@ -786,7 +786,7 @@ static const cairo_boilerplate_target_t targets[] = {
TRUE, FALSE, FALSE
},
{
- "xcb", "xlib", NULL, NULL,
+ "xcb", "traps", NULL, NULL,
CAIRO_SURFACE_TYPE_XCB, CAIRO_CONTENT_COLOR, 1,
"cairo_xcb_surface_create_with_xrender_format",
_cairo_boilerplate_xcb_create_surface,
@@ -801,7 +801,7 @@ static const cairo_boilerplate_target_t targets[] = {
FALSE, FALSE, FALSE
},
{
- "xcb-window", "xlib", NULL, NULL,
+ "xcb-window", "traps", NULL, NULL,
CAIRO_SURFACE_TYPE_XCB, CAIRO_CONTENT_COLOR, 1,
"cairo_xcb_surface_create_with_xrender_format",
_cairo_boilerplate_xcb_create_window,
@@ -816,7 +816,7 @@ static const cairo_boilerplate_target_t targets[] = {
FALSE, FALSE, FALSE
},
{
- "xcb-window&", "xlib", NULL, NULL,
+ "xcb-window&", "traps", NULL, NULL,
CAIRO_SURFACE_TYPE_XCB, CAIRO_CONTENT_COLOR, 1,
"cairo_xcb_surface_create_with_xrender_format",
_cairo_boilerplate_xcb_create_window_db,