compositor-drm: Use overlays for ARGB surfaces if they are opaque
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Fri, 7 Dec 2012 11:18:11 +0000 (13:18 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 7 Dec 2012 15:28:09 +0000 (10:28 -0500)
commitca5c6ae08d6e4549a6e90ab9a6f7111144ace1a7
tree60896ede2185eb480f9198a3bacf6d067fb3b365
parentdb9993875e6397d861c0029a8d2d1027fb27d2f3
compositor-drm: Use overlays for ARGB surfaces if they are opaque

Since the call to drmModeSetPlane() fails with EINVAL if the supplied
fb has an unsupported format (which is the case of ARGB8888), the fb
format needs to be overridden.
src/compositor-drm.c