summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Lloyd Pique <lpique@google.com> 2018-12-18 16:33:37 -0800
committer Lloyd Pique <lpique@google.com> 2019-02-16 04:01:00 +0000
commit07e33212907647b376cf4a9d4cee50d5a83e45ff (patch)
treecbd301e60a3ae0ccd4be9520ff26b7db17aca746 /libs/gui/BufferQueueThreadState.cpp
parent35d58247ab3a27b611cfc342a4c968c87a7ca24d (diff)
SF: Move management of HWC layers to compositionengine::OutputLayer
OutputLayer creates a HWC layer (if appropriate) on initialization, and the HWC layer is destroyed with the OutputLayer. Removes all explicit calls to create/destroy the HWC layers from the front-end Layer code, and a few other places. A call is also added to destroy all OutputLayers before switching in or out of VrComposer mode. This change already marked the geometry as dirty -- this just ensures all the HWC layers are recreated. Test: atest libsurfaceflinger_unittest libcompositionengine_test Test: atest dvr_display-test Test: atest CtsViewTestCases Bug: 121291683 Bug: 124537779 Change-Id: Ib7aec9e998ed5481d2753d19b061ba922e54bfe0
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions