Commit d710e96d authored by Ell's avatar Ell

Issue #3781 - Display artifacts on HiDPI when render cache is invalidated

In GimpDisplayShell, scale the render cache by the window's scale
factor, and render its content in device pixels, instead of scaled
application pixels.  When painting the cache to the screen, unscale
the cairo context by the same factor, so that it's painted in the
native resolution.  Note that the various
gimp_display_shell_render_foo() functions still speak in
application pixels, and the scaling happens internally in

Aside from rendering at native resolution on HiDPI, this also fixes
an issue where grid-like display artifacts would appear when the
render cache was not fully validated due to the non-native scaling.
parent c20a8b73
Pipeline #114088 passed with stages
in 14 minutes and 7 seconds