compositor-drm: Make unused parts of the cursor image transparent
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Tue, 16 Aug 2011 11:25:15 +0000 (14:25 +0300)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 17 Aug 2011 01:32:54 +0000 (21:32 -0400)
commitc483917512b8a20e89d680c5ac6788645357064d
tree48e62b86142ec72a60047ce6267526907f4bb74d
parentc224748665251abde2a89724d40f138baa5fcdd6
compositor-drm: Make unused parts of the cursor image transparent

The bo for the cursor image is always created with size 64x64 even if
the actual cursor image is smaller than that. If this memory is not
initialized, random data can create artifacts near the cursor.

Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
compositor/compositor-drm.c