diff options
author | Mathias Agopian <mathias@google.com> | 2013-03-21 16:25:12 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2013-03-21 16:25:12 -0700 |
commit | 70a6e88dbd52605f35f290eba52a05bdc6fc8042 (patch) | |
tree | bec8c0ea1d798854d02599c21acad829b36a7e5b /services | |
parent | 7c1a487ba8c0a3b591a77e2ddcb33ef9bdfaff64 (diff) | |
download | frameworks_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.cpp | 1 |
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; |