From 70a6e88dbd52605f35f290eba52a05bdc6fc8042 Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Thu, 21 Mar 2013 16:25:12 -0700 Subject: [PATCH] initialize planeAlpha (to 0xFF) for the FB_TARGET Bug: 8422625 Change-Id: I7b72456c2e01ed92e675cc1bfa0cfd0d2ce5064e --- services/surfaceflinger/DisplayHardware/HWComposer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/services/surfaceflinger/DisplayHardware/HWComposer.cpp b/services/surfaceflinger/DisplayHardware/HWComposer.cpp index 96cfc14d6..8599a29d0 100644 --- a/services/surfaceflinger/DisplayHardware/HWComposer.cpp +++ b/services/surfaceflinger/DisplayHardware/HWComposer.cpp @@ -512,6 +512,7 @@ status_t HWComposer::createWorkList(int32_t id, size_t numLayers) { &disp.framebufferTarget->displayFrame; disp.framebufferTarget->acquireFenceFd = -1; disp.framebufferTarget->releaseFenceFd = -1; + disp.framebufferTarget->planeAlpha = 0xFF; } disp.list->retireFenceFd = -1; disp.list->flags = HWC_GEOMETRY_CHANGED;