hwc: remove SKIP_LAYER check when reserving windows
authorGreg Hackmann <ghackmann@google.com>
Thu, 16 Aug 2012 20:12:27 +0000 (13:12 -0700)
committerAndroid (Google) Code Review <android-gerrit@google.com>
Thu, 16 Aug 2012 23:02:44 +0000 (16:02 -0700)
Fixes a case where the HWC does not skip a window to hold the
framebuffer, causing one of the other overlays to vanish.

Change-Id: I8f48547b145162a523a624d59b4d166cea2e0df7
Signed-off-by: Greg Hackmann <ghackmann@google.com>
libhwc/hwc.cpp

index 289d7a5048165324b4e34a54d2c94d79bf2c4917..24a3bec524fc40e6d1a6d2bcd996edd9001d8e85 100644 (file)
@@ -647,8 +647,6 @@ static int exynos5_prepare(hwc_composer_device_1_t *dev,
 
     for (size_t i = 0; i < displays[0]->numHwLayers; i++) {
         hwc_layer_1_t &layer = displays[0]->hwLayers[i];
-        if (layer.flags & HWC_SKIP_LAYER)
-            continue;
 
         if (fb_needed && i == first_fb) {
             ALOGV("assigning framebuffer to window %u\n",