summaryrefslogtreecommitdiffstats
path: root/hwc/hwc.c
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2011-09-09 00:30:32 -0700
committerMathias Agopian <mathias@google.com>2011-09-09 00:32:25 -0700
commit48efa60e4b8091a306db9d78461e6cc56d0324e5 (patch)
tree195851f73dfc6ba8076657dcd9e3384107d75be6 /hwc/hwc.c
parent342adfa1cc708708ddfc167d06b2345fcaa8b0e5 (diff)
downloadhardware_ti_omap4xxx-48efa60e4b8091a306db9d78461e6cc56d0324e5.tar.gz
hardware_ti_omap4xxx-48efa60e4b8091a306db9d78461e6cc56d0324e5.tar.bz2
hardware_ti_omap4xxx-48efa60e4b8091a306db9d78461e6cc56d0324e5.zip
never set the CLEAR_FB flag on OVERLAY layers (it makes no sense)
Change-Id: I4f8c38645c8317fc0ac073324a1b477b9a28db07
Diffstat (limited to 'hwc/hwc.c')
-rw-r--r--hwc/hwc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hwc/hwc.c b/hwc/hwc.c
index a94e6e7..9f39e44 100644
--- a/hwc/hwc.c
+++ b/hwc/hwc.c
@@ -668,6 +668,8 @@ static int omap4_hwc_prepare(struct hwc_composer_device *dev, hwc_layer_list_t*
for (i = 0; list && i < list->numHwLayers; i++) {
hwc_layer_t *layer = &list->hwLayers[i];
IMG_native_handle_t *handle = (IMG_native_handle_t *)layer->handle;
+ if (layer->compositionType == HWC_FRAMEBUFFER)
+ continue;
if ((layer->flags & HWC_SKIP_LAYER) || !layer->handle)
continue;
if (!is_BLENDED(layer->blending))