compositor-drm: Support output scaling
authorAlexander Larsson <alexl@redhat.com>
Wed, 22 May 2013 12:41:39 +0000 (14:41 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 22 May 2013 20:19:59 +0000 (16:19 -0400)
commitd9a7bb75d023f69718223470ad122c9672e0bad2
tree4d552142fd71150ebea1d2e915240129bfbda581
parent80f9163ad611353b544007cb97a9f5fde64d28ed
compositor-drm: Support output scaling

If you specify e.g. scale=2 in an output section in weston.ini
we scale all modes by that factor.

We also correctly scale cursor positioning, but ATM there is no
scaling of the cursor sprite itself.
src/compositor-drm.c