summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Lloyd Pique <lpique@google.com> 2019-10-03 17:58:30 -0700
committer Lloyd Pique <lpique@google.com> 2020-02-27 19:17:50 +0000
commitaad4ebf31b49ce52ce16d81d74c331624e593e4a (patch)
tree9a0f77188ca2d5b43050b36f3d36758df2fea100 /vulkan/libvulkan/api.cpp
parent57cabaca38fd527acdec5fb92c7c5189214ba2b1 (diff)
SF: Start restructuring display creation
Create the compositionengine::Display first thing, outside of DisplayDevice, and pass it in as part of creating the DisplayDevice, rather than creating it internal to DisplayDevice. Also to start, move the logic to allocate a DisplayId for a HWC backed virtual display into the CompositionEngine class. This is a first step to moving the internal setup of the display to CompositionEngine, and eventually eliminating DisplayDevice entirely, as it is but a thin wrapper around the other class. DisplayTransactionTest is adjusted so the dummy created DisplayDevices have an appropriate compositionengine::Display. Test: atest libsurfaceflinger_unittest libcompositionengine_test Bug: 142831417 Change-Id: I8417682f4ead7b550a8973d4716c627e31b07b6e Merged-In: I8417682f4ead7b550a8973d4716c627e31b07b6e (cherry picked from commit 9370a480fc0a99575a57500b03c9c45d9e52bc1d)
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions