diff options
| author | 2019-03-07 21:23:23 -0800 | |
|---|---|---|
| committer | 2019-09-04 19:08:49 -0700 | |
| commit | 26d03fdb99ed937981fd6f818a034b43c6790402 (patch) | |
| tree | a93f3bcd3b235f9ae07afd24af401d18fd446b63 /vulkan/libvulkan/api.cpp | |
| parent | 306299821902c05dfc3121a7201404ac465419ee (diff) | |
SF: Move OutputLayer creation to computeVisibleRegions
This moves part of rebuildLayerStacks to computeVisibleRegions. In
particular it eliminates a second loop over all front-end layers to
identify the ones that are visible on an output. The first loop
computes the visibility, and can immediately create the output layers.
This is a bit of nontrivial restructuring prior to moving the code to
CompositionEngine, since that will also break things up a bit.
Test: atest libsurfaceflinger_unittest libcompositionengine_test
Bug: 121291683
Change-Id: I8a498195f9b5f976e7a69de717818b57494e2f2b
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions