diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-09-16 11:09:22 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-09-16 11:09:22 +0100 |
commit | fcea0f8e08e2fbd448a990b60be0cf16535b45a5 (patch) | |
tree | 0363ec00615fdfed7519949c9b04df7f4921b13b /boilerplate/cairo-boilerplate-xlib.c | |
parent | 62e1ded35c4d8d3139152661afea61b628152d47 (diff) |
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-xlib.c')
-rw-r--r-- | boilerplate/cairo-boilerplate-xlib.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/boilerplate/cairo-boilerplate-xlib.c b/boilerplate/cairo-boilerplate-xlib.c index cad28847..eaaae99e 100644 --- a/boilerplate/cairo-boilerplate-xlib.c +++ b/boilerplate/cairo-boilerplate-xlib.c @@ -568,7 +568,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. */ { - "xlib", "xlib", NULL, "xlib-fallback", + "xlib", "traps", NULL, "xlib-fallback", CAIRO_SURFACE_TYPE_XLIB, CAIRO_CONTENT_COLOR_ALPHA, 1, "cairo_xlib_surface_create_with_xrender_format", _cairo_boilerplate_xlib_create_surface, @@ -582,7 +582,7 @@ static const cairo_boilerplate_target_t targets[] = { TRUE, FALSE, FALSE }, { - "xlib", "xlib", NULL, "xlib-fallback", + "xlib", "traps", NULL, "xlib-fallback", CAIRO_SURFACE_TYPE_XLIB, CAIRO_CONTENT_COLOR, 1, "cairo_xlib_surface_create_with_xrender_format", _cairo_boilerplate_xlib_create_surface, @@ -596,7 +596,7 @@ static const cairo_boilerplate_target_t targets[] = { FALSE, FALSE, FALSE }, { - "xlib-window", "xlib", NULL, NULL, + "xlib-window", "traps", NULL, NULL, CAIRO_SURFACE_TYPE_XLIB, CAIRO_CONTENT_COLOR, 1, "cairo_xlib_surface_create", _cairo_boilerplate_xlib_window_create_surface, |