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>
|
|
@ -323,7 +323,7 @@ static const cairo_boilerplate_target_t targets[] = {
|
|||
"test-mask", "mask", NULL, NULL,
|
||||
CAIRO_SURFACE_TYPE_IMAGE,
|
||||
CAIRO_CONTENT_COLOR_ALPHA, 0,
|
||||
"_cairo_test_traps_compositor_surface_create",
|
||||
"_cairo_test_mask_compositor_surface_create",
|
||||
_cairo_boilerplate_test_mask_compositor_create_surface,
|
||||
cairo_surface_create_similar,
|
||||
NULL, NULL,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
BIN
test/reference/a1-bug.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
test/reference/a1-bug.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
test/reference/a1-clip-fill-equal.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 120 B |
BIN
test/reference/a1-clip-fill-equal.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 120 B |
BIN
test/reference/a1-clip-fill-rule.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 236 B |
BIN
test/reference/a1-clip-fill-rule.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 218 B |
BIN
test/reference/a1-clip-fill.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 120 B |
BIN
test/reference/a1-clip-fill.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 120 B |
BIN
test/reference/a1-clip-paint.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 120 B |
BIN
test/reference/a1-clip-paint.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 120 B |
BIN
test/reference/a1-clip-stroke.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 120 B |
BIN
test/reference/a1-clip-stroke.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 120 B |
BIN
test/reference/a1-image-sample.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 122 B |
BIN
test/reference/a1-image-sample.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 122 B |
BIN
test/reference/a1-line-width.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 154 B |
BIN
test/reference/a1-line-width.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 154 B |
BIN
test/reference/a1-mask-sample.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 122 B |
BIN
test/reference/a1-mask-sample.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 122 B |
BIN
test/reference/a1-mask.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 106 B |
BIN
test/reference/a1-mask.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 106 B |
BIN
test/reference/a1-rasterisation-rectangles.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
test/reference/a1-rasterisation-rectangles.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
test/reference/a1-rasterisation-triangles.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
test/reference/a1-rasterisation-triangles.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
test/reference/a1-rectilinear-grid.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 207 B |
BIN
test/reference/a1-rectilinear-grid.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 207 B |
BIN
test/reference/a1-sample.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 786 B |
BIN
test/reference/a1-sample.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 786 B |
BIN
test/reference/a1-tiger.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
test/reference/a1-tiger.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
test/reference/a1-traps-sample.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 120 B |
BIN
test/reference/a1-traps-sample.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 120 B |
BIN
test/reference/a8-clear.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 248 B |
BIN
test/reference/a8-clear.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 248 B |
BIN
test/reference/a8-mask.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 103 B |
BIN
test/reference/a8-mask.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 103 B |
BIN
test/reference/aliasing.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 101 KiB |
BIN
test/reference/aliasing.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 101 KiB |
BIN
test/reference/alpha-similar.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 99 B |
BIN
test/reference/alpha-similar.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 88 B |
BIN
test/reference/api-special-cases.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 95 B |
BIN
test/reference/api-special-cases.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 95 B |
BIN
test/reference/arc-infinite-loop.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 96 B |
BIN
test/reference/arc-infinite-loop.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 96 B |
BIN
test/reference/arc-looping-dash.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 470 B |
BIN
test/reference/arc-looping-dash.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 470 B |
BIN
test/reference/big-empty-box.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 111 B |
BIN
test/reference/big-empty-box.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 108 B |
BIN
test/reference/big-empty-triangle.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 111 B |
BIN
test/reference/big-empty-triangle.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 108 B |
BIN
test/reference/big-line.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 933 B |
BIN
test/reference/big-line.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 933 B |
BIN
test/reference/big-little-box.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 169 B |
BIN
test/reference/big-little-box.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 160 B |
BIN
test/reference/big-little-triangle.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 399 B |
BIN
test/reference/big-little-triangle.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 320 B |
BIN
test/reference/big-trap.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 319 B |
BIN
test/reference/big-trap.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 319 B |
BIN
test/reference/bilevel-image.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 105 B |
BIN
test/reference/bilevel-image.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 105 B |
BIN
test/reference/bitmap-font.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 931 B |
BIN
test/reference/bitmap-font.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 871 B |
BIN
test/reference/bug-40410.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 428 B |
BIN
test/reference/bug-40410.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 428 B |
BIN
test/reference/bug-bo-rectangular.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 950 B |
BIN
test/reference/bug-bo-rectangular.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 950 B |
BIN
test/reference/bug-extents.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 9 KiB |
BIN
test/reference/bug-extents.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 9 KiB |
BIN
test/reference/bug-seams.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
test/reference/bug-seams.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
test/reference/caps-joins-alpha.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
test/reference/caps-joins-alpha.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
test/reference/caps-joins-curve.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 5.2 KiB |
BIN
test/reference/caps-joins-curve.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 5.2 KiB |
BIN
test/reference/caps-joins.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
test/reference/caps-joins.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
test/reference/caps-sub-paths.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 166 B |
BIN
test/reference/caps-sub-paths.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 166 B |
BIN
test/reference/caps-tails-curve.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 49 KiB |
BIN
test/reference/caps-tails-curve.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 49 KiB |
BIN
test/reference/caps.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
test/reference/caps.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
test/reference/checkerboard.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 142 B |
BIN
test/reference/checkerboard.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 142 B |
BIN
test/reference/clear-source.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 779 B |
BIN
test/reference/clear-source.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 779 B |
BIN
test/reference/clear.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 673 B |
BIN
test/reference/clear.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 614 B |
BIN
test/reference/clip-all.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 95 B |
BIN
test/reference/clip-all.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 95 B |
BIN
test/reference/clip-complex-shape-eo-aa.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 325 B |
BIN
test/reference/clip-complex-shape-eo-aa.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 325 B |
BIN
test/reference/clip-complex-shape-eo-mono.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 325 B |
BIN
test/reference/clip-complex-shape-eo-mono.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 325 B |
BIN
test/reference/clip-contexts.traps.argb32.ref.png
Normal file
|
After Width: | Height: | Size: 98 B |
BIN
test/reference/clip-contexts.traps.rgb24.ref.png
Normal file
|
After Width: | Height: | Size: 98 B |