gdk: Ensure surface buffer scale is set
authorSjoerd Simons <sjoerd@luon.net>
Mon, 7 Nov 2016 21:52:45 +0000 (22:52 +0100)
committerJeremy Bicha <jbicha@debian.org>
Sat, 2 Sep 2017 21:14:56 +0000 (22:14 +0100)
commita9d37e951e29e531d02d19603d44acbaaa2dc6c6
treea04b3e37f147c2672c6fefafeb2d7f9e46c379d0
parent05fe40ab2e41ba721d1d5946b0d5e4188bffecd7
gdk: Ensure surface buffer scale is set

GDK will only set the buffer scale for the surfaces it creates when
attaching an image or when using an egl window window. Neither will
happen for native clutter applications, thus directly set the buffer
scale from clutter in that case (so it's in sync with the rendering
scale)

Signed-off-by: Sjoerd Simons <sjoerd@luon.net>
https://bugzilla.gnome.org/show_bug.cgi?id=769190

Gbp-Pq: Name gdk-Ensure-surface-buffer-scale-is-set.patch
clutter/gdk/clutter-stage-gdk.c