compositor: Add opaque rect shader feature
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 16 May 2012 03:16:53 +0000 (23:16 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 16 May 2012 20:00:41 +0000 (16:00 -0400)
commit0b0c2bb3e94ce11c2717f7670fa66f9cba675151
treee1d6c26e659d4e9d17b93f0603d0c7013e13bbb9
parentfb6c6d90f316689c88531eddd341a97383b7b79f
compositor: Add opaque rect shader feature

This lets us mark a rectangle in a texture and force the alpha to one
inside.  This is useful for textures coming from X windows, where the X
window part is xRGB, that is 32 bit RGB with an undefined alpha channel
and the decorations are rendered with a well-defined alpha channel.
src/compositor.c
src/compositor.h
src/xserver-launcher.c