From: Greg Hackmann <ghackmann@google.com> Date: Thu, 16 Aug 2012 20:12:27 +0000 (-0700) Subject: hwc: remove SKIP_LAYER check when reserving windows X-Git-Tag: cm-10.1-M1~239 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1cf195be9d313c1696a8617646bb1b3327dc4592;p=GitHub%2FLineageOS%2Fandroid_hardware_samsung_slsi_exynos5.git hwc: remove SKIP_LAYER check when reserving windows 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> --- diff --git a/libhwc/hwc.cpp b/libhwc/hwc.cpp index 289d7a5..24a3bec 100644 --- a/libhwc/hwc.cpp +++ b/libhwc/hwc.cpp @@ -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",