diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-06-21 17:30:47 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-06-21 17:30:47 +0100 |
commit | 7b80613d6d483cdfd5d0c6311de0f8586092b408 (patch) | |
tree | 38223883a61b7e5782944ea882fa14354d712779 /src | |
parent | 686ebd4a893d2e583d0cf11bd9f77681dbf0b21c (diff) |
test: Use the highest precision rendering for shapes for generating ref results
The test-traps and test-base surfaces are used for generating the
reference results, and so they should opt for using the best rendering
paths through the traps- and base-compositors.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r-- | src/test-compositor-surface.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test-compositor-surface.c b/src/test-compositor-surface.c index ddee06f3e..1cc5f6921 100644 --- a/src/test-compositor-surface.c +++ b/src/test-compositor-surface.c @@ -145,6 +145,8 @@ test_compositor_surface_stroke (void *_surface, const cairo_clip_t *clip) { test_compositor_surface_t *surface = _surface; + if (antialias == CAIRO_ANTIALIAS_DEFAULT) + antialias = CAIRO_ANTIALIAS_BEST; return _cairo_compositor_stroke (surface->base.compositor, _surface, op, source, path, style, ctm, ctm_inverse, @@ -163,6 +165,8 @@ test_compositor_surface_fill (void *_surface, const cairo_clip_t *clip) { test_compositor_surface_t *surface = _surface; + if (antialias == CAIRO_ANTIALIAS_DEFAULT) + antialias = CAIRO_ANTIALIAS_BEST; return _cairo_compositor_fill (surface->base.compositor, _surface, op, source, path, fill_rule, tolerance, antialias, |