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.
This commit is contained in:
@ -333,6 +333,7 @@ gimp_display_shell_render (GimpDisplayShell *shell,
|
|||||||
cairo_set_source_surface (cr, xfer,
|
cairo_set_source_surface (cr, xfer,
|
||||||
x - xfer_src_x,
|
x - xfer_src_x,
|
||||||
y - xfer_src_y);
|
y - xfer_src_y);
|
||||||
|
cairo_pattern_set_filter (cairo_get_source (cr), CAIRO_FILTER_FAST);
|
||||||
cairo_paint (cr);
|
cairo_paint (cr);
|
||||||
|
|
||||||
if (shell->mask)
|
if (shell->mask)
|
||||||
|
Reference in New Issue
Block a user