summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Lloyd Pique <lpique@google.com> 2019-03-07 21:38:42 -0800
committer Lloyd Pique <lpique@google.com> 2019-09-06 14:14:39 -0700
commitdf336d9f770ba18e4a25513694b3e4fc7b2bbc65 (patch)
tree1887ffb9968c8aa201fa8acd2956ed25607c4587 /libs/gui/BufferQueueThreadState.cpp
parentc668734cece8d71ead434517e0a4fa9752bd79ce (diff)
SF: Restructure OutputLayer creation to remove displayId argument
The existing code was explicitly passing the displayId when creating an OutputLayer, so that a HWC2::Layer could be created if applicable. This patch makes a quick adjustment to the code so that the compositionengine::Display instance overrides the base createOutputLayer logic to create the HWC2::Layer, as it knows the displayId itself. This is a minor cleanup prior to moving computeVisibleLayers to the Output class. Test: atest libsurfaceflinger_unittest libcompositionengine_test Test: go/wm-smoke Bug: 121291683 Change-Id: Ic7224ba445084b833b8c344436397372b2153d42
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions