mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-29 22:00:15 +01:00
test/extended-blend.c: Remove obsolete comments about buggy librsvg
The comment said that using CAIRO_OPERATOR_SOURCE for the background triggered a librsvg bug, but the relevant commit message does not even include a link to a librsvg bug. Also, changing it from OVER to SOURCE completely breaks these tests (the reference images don't match at all), so this comment is stale. Just remove it. Signed-off-by: Bryce Harrington <b.harrington@samsung.com>
This commit is contained in:
parent
38fc475995
commit
78a5d543b6
1 changed files with 0 additions and 3 deletions
|
|
@ -71,7 +71,6 @@ do_blend_solid (cairo_t *cr, cairo_operator_t op, cairo_bool_t alpha)
|
|||
cairo_save (cr);
|
||||
cairo_scale (cr, SIZE, SIZE);
|
||||
|
||||
/* not using CAIRO_OPERATOR_SOURCE here, it triggers a librsvg bug */
|
||||
cairo_set_operator (cr, CAIRO_OPERATOR_OVER);
|
||||
for (x = 0; x < STEPS; x++) {
|
||||
/* draw the background using discrete steps */
|
||||
|
|
@ -126,7 +125,6 @@ do_blend (cairo_t *cr, cairo_operator_t op, cairo_bool_t alpha)
|
|||
|
||||
create_patterns (cr, &bg, &fg, alpha);
|
||||
|
||||
/* not using CAIRO_OPERATOR_SOURCE here, it triggers a librsvg bug */
|
||||
cairo_set_operator (cr, CAIRO_OPERATOR_OVER);
|
||||
cairo_set_source_surface (cr, bg, 0, 0);
|
||||
cairo_paint (cr);
|
||||
|
|
@ -146,7 +144,6 @@ do_blend_mask (cairo_t *cr, cairo_operator_t op, cairo_bool_t alpha)
|
|||
|
||||
create_patterns (cr, &bg, &fg, alpha);
|
||||
|
||||
/* not using CAIRO_OPERATOR_SOURCE here, it triggers a librsvg bug */
|
||||
cairo_set_operator (cr, CAIRO_OPERATOR_OVER);
|
||||
cairo_set_source_surface (cr, bg, 0, 0);
|
||||
cairo_paint (cr);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue