Commit 36258a67 authored by Ell's avatar Ell
Browse files

app: use FAST filter when painting xfer surface

Use CAIRO_FILTER_FAST when painting the xfer surface to the
screen.  This notably improves performance when the canvas is
rotated, at the cost of lower filtering quality.
parent 6d19e9e8
......@@ -333,6 +333,7 @@ gimp_display_shell_render (GimpDisplayShell *shell,
cairo_set_source_surface (cr, xfer,
x - xfer_src_x,
y - xfer_src_y);
cairo_pattern_set_filter (cairo_get_source (cr), CAIRO_FILTER_FAST);
cairo_paint (cr);
if (shell->mask)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment