compositor: add capability flag for arbitrary surface rotation
authorPekka Paalanen <ppaalanen@gmail.com>
Wed, 22 May 2013 15:03:04 +0000 (18:03 +0300)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 22 May 2013 20:46:43 +0000 (16:46 -0400)
commit7bb6510748522d31fb711257126f2231533d4dd1
treed4952871a4f455e876adf1843cba53d690df93a3
parent9bdfc48f09e0bfd5e59e0e27790282aa9be4f46d
compositor: add capability flag for arbitrary surface rotation

The upcoming rpi-renderer cannot handle arbitrary rotations. Introduce
Weston capability bits, and add a bit for arbitrary rotation. GL and
Pixman renderers support it.

Shell or any other module must not produce surface transformations with
rotation, if the capability bit is not set. Do not register the surface
rotation binding in desktop shell, if arbitary rotation is not
supported.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
src/compositor.c
src/compositor.h
src/gl-renderer.c
src/pixman-renderer.c
src/shell.c