summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2013-03-21 16:25:12 -0700
committerMathias Agopian <mathias@google.com>2013-03-21 16:25:12 -0700
commit70a6e88dbd52605f35f290eba52a05bdc6fc8042 (patch)
treebec8c0ea1d798854d02599c21acad829b36a7e5b /services
parent7c1a487ba8c0a3b591a77e2ddcb33ef9bdfaff64 (diff)
downloadframeworks_native-70a6e88dbd52605f35f290eba52a05bdc6fc8042.zip
frameworks_native-70a6e88dbd52605f35f290eba52a05bdc6fc8042.tar.gz
frameworks_native-70a6e88dbd52605f35f290eba52a05bdc6fc8042.tar.bz2
initialize planeAlpha (to 0xFF) for the FB_TARGET
Bug: 8422625 Change-Id: I7b72456c2e01ed92e675cc1bfa0cfd0d2ce5064e
Diffstat (limited to 'services')
-rw-r--r--services/surfaceflinger/DisplayHardware/HWComposer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/surfaceflinger/DisplayHardware/HWComposer.cpp b/services/surfaceflinger/DisplayHardware/HWComposer.cpp
index 96cfc14..8599a29 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;