From 1cf195be9d313c1696a8617646bb1b3327dc4592 Mon Sep 17 00:00:00 2001 From: Greg Hackmann Date: Thu, 16 Aug 2012 13:12:27 -0700 Subject: [PATCH] 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 --- libhwc/hwc.cpp | 2 -- 1 file changed, 2 deletions(-) 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", -- 2.20.1