diff options
| author | 2019-03-07 21:38:42 -0800 | |
|---|---|---|
| committer | 2019-09-06 14:14:39 -0700 | |
| commit | df336d9f770ba18e4a25513694b3e4fc7b2bbc65 (patch) | |
| tree | 1887ffb9968c8aa201fa8acd2956ed25607c4587 /libs/gui/BufferQueueThreadState.cpp | |
| parent | c668734cece8d71ead434517e0a4fa9752bd79ce (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