compositor: add a masking mechanism to weston_layer
authorGiulio Camuffo <giuliocamuffo@gmail.com>
Wed, 9 Jul 2014 19:12:57 +0000 (22:12 +0300)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 23 Jul 2014 19:34:33 +0000 (12:34 -0700)
commit95ec0f95aa2df74c2da19e7dda24528fa8f765cc
treef33fa0b8815721d77221f145277b7549a61b0ccd
parent412e6a59eb90da5b29226e0b32f4a1a8e21c6500
compositor: add a masking mechanism to weston_layer

this adds a mechanism to mask the views belonging to a layer
to an arbitrary rect, in the global space. The parts that don't fit
in that rect will be clipped away.
Supported by the gl and pixman renderer only for now.
src/compositor.c
src/compositor.h
src/gl-renderer.c
src/pixman-renderer.c