gtk2/gdk/quartz
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
..
gdkcursor-quartz.c
gdkdevice-core-quartz.c
gdkdevicemanager-core-quartz.c quartz: Use GdkSeatDefault to implement GdkSeat 2015-12-15 00:40:21 +01:00
gdkdevicemanager-core-quartz.h
gdkdisplay-quartz.c gdk: remove the display->list_devices vfunc 2016-02-29 21:53:58 +01:00
gdkdisplaymanager-quartz.c
gdkdnd-quartz.c gdk: Allow passing the start coordinates in drag_begin 2015-12-13 10:39:43 -05:00
gdkdnd-quartz.h
gdkeventloop-quartz.c quartz: Don't use g_print for debug output 2016-02-28 21:40:23 -05:00
gdkevents-quartz.c quartz: fix quartz build 2016-03-17 21:18:58 -07:00
gdkglcontext-quartz.c
gdkglcontext-quartz.h
gdkglobals-quartz.c
gdkkeys-quartz.c
gdkprivate-quartz.h gdk: Allow passing the start coordinates in drag_begin 2015-12-13 10:39:43 -05:00
gdkproperty-quartz.c
gdkquartz.h
gdkquartzcursor.h
gdkquartzdevice-core.h
gdkquartzdevicemanager-core.h
gdkquartzdisplay.h
gdkquartzdisplaymanager.h
gdkquartzdnd.h
gdkquartzkeys.h
GdkQuartzNSWindow.c Fix Quartz Full Screen Crash. 2016-02-21 16:22:27 -08:00
GdkQuartzNSWindow.h
gdkquartzscreen.h
gdkquartzutils.h
GdkQuartzView.c quartz: Don't use g_print for debug output 2016-02-28 21:40:23 -05:00
GdkQuartzView.h
gdkquartzvisual.h
gdkquartzwindow.h
gdkscreen-quartz.c
gdkscreen-quartz.h
gdkselection-quartz.c quartz: Strip newlines from g_warning and g_error 2016-02-28 12:23:12 -05:00
gdktestutils-quartz.c
gdkutils-quartz.c
gdkvisual-quartz.c gdk: calculate pixel color shift and precision lazily 2016-02-27 12:27:54 +01:00
gdkwindow-quartz.c quartz: fix pixelated image surfaces in retina/hidpi mode 2016-03-23 16:27:10 +01:00
gdkwindow-quartz.h
Makefile.am
xcursors.h