diff options
author | Mathias Agopian <mathias@google.com> | 2011-09-09 00:30:32 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2011-09-09 00:32:25 -0700 |
commit | 48efa60e4b8091a306db9d78461e6cc56d0324e5 (patch) | |
tree | 195851f73dfc6ba8076657dcd9e3384107d75be6 /hwc/hwc.c | |
parent | 342adfa1cc708708ddfc167d06b2345fcaa8b0e5 (diff) | |
download | hardware_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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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)) |