Merge "initialize planeAlpha (to 0xFF) for the FB_TARGET" into jb-mr2-dev

This commit is contained in:
Mathias Agopian 2013-03-21 23:58:38 +00:00 committed by Android (Google) Code Review
commit 504e1f2638

View File

@ -512,6 +512,7 @@ status_t HWComposer::createWorkList(int32_t id, size_t numLayers) {
&disp.framebufferTarget->displayFrame; &disp.framebufferTarget->displayFrame;
disp.framebufferTarget->acquireFenceFd = -1; disp.framebufferTarget->acquireFenceFd = -1;
disp.framebufferTarget->releaseFenceFd = -1; disp.framebufferTarget->releaseFenceFd = -1;
disp.framebufferTarget->planeAlpha = 0xFF;
} }
disp.list->retireFenceFd = -1; disp.list->retireFenceFd = -1;
disp.list->flags = HWC_GEOMETRY_CHANGED; disp.list->flags = HWC_GEOMETRY_CHANGED;