Implement output transformations.
authorScott Moreau <oreaus@gmail.com>
Sat, 18 Aug 2012 07:04:05 +0000 (01:04 -0600)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 29 Aug 2012 18:39:13 +0000 (14:39 -0400)
commit1bad5db9d69cd744bc48f60bb71f7b68b6a2f770
treec11d1122dd3e962edae4ce826eac49722e1177ba
parent5418a904ca007a109f6af8c0c75ca97a134986d9
Implement output transformations.

This patch allows rotation and mirroring outputs for x11 and drm backends.
A new 'transform' key can be set in the [output] section. From the protocol:

"The flipped values correspond to an initial flip around a vertical axis
followed by rotation."

The transform key can be one of the following 8 strings:

normal
90
180
270
flipped
flipped-90
flipped-180
flipped-270
src/compositor-android.c
src/compositor-drm.c
src/compositor-wayland.c
src/compositor-x11.c
src/compositor.c
src/compositor.h
src/shell.c
src/zoom.c
weston.ini