Files
gtk/gdk
Christoph Reiter 3f077ec36f quartz: fix pixelated image surfaces in retina/hidpi mode
gtk+ currently depends on the scaling factor and the cairo device scale
of both the backend surfaces and image surfaces to be equal.

Until now we didn't apply a cairo device scale at all and depended on the
automatic scaling of CGContexts. This works when drawing with cairo but
fails in case of image surfaces, which get requested at a too small size.

To make the quartz backend behave more like the X11 one, set the cairo device
scale on the surface in gdk_quartz_ref_cairo_surface(). As this conflicts
with the default scaling done by CGContext (we would get double scaling)
undo the CGContext scaling using CGContextScaleCTM().

This patch is based on the following patches by Brion Vibber:
    https://bugzilla.gnome.org/show_bug.cgi?id=740199#c4
    https://bugs.freedesktop.org/show_bug.cgi?id=69796#c4

https://bugzilla.gnome.org/show_bug.cgi?id=763779
2016-03-23 16:27:10 +01:00
..
2016-03-18 07:49:39 +00:00
2016-03-11 21:42:33 -05:00
2015-12-15 00:16:15 +01:00
2014-10-13 10:43:31 -04:00
2015-05-08 13:34:25 -04:00
2016-02-25 08:27:08 -05:00
2016-03-20 22:45:06 -04:00
2014-11-06 12:24:43 +01:00
2015-09-12 12:50:39 -04:00
2014-08-30 00:53:21 -04:00
2015-10-03 22:26:27 -04:00
2016-01-18 08:54:35 -05:00
2016-03-20 22:29:37 -04:00
2015-12-15 00:16:15 +01:00
2016-03-11 21:42:33 -05:00