diff options
| author | 2021-04-09 13:41:14 -0400 | |
|---|---|---|
| committer | 2021-04-28 16:31:19 -0400 | |
| commit | 2e74a4c64c081b519ce2eb185b4d19b88c3a5887 (patch) | |
| tree | 56d857d5e9ce50387a24a7d09d36accd6ef46c01 /vulkan/libvulkan/api.cpp | |
| parent | 5bab982501f472655f4d9b300c792e96621fde2c (diff) | |
SF: Add tests for hole punch
Bug: 186144794
Test: This
Update "peekThroughLayer"'s type to be compositionengine::OutputLayer
(the abstract base class, rather than the implementation) so that a
mock::OutputLayer pointer registers as equal to itself. Likewise, use
the same type when storing a pointer to it in
Output::writeCompositionState. Finally, use the base type as the return
value from CachedSet::getHolePunchLayer. This has the effect of updating
calls in Flattener that look like
auto* peekThroughLayer = cachedSet->getHolePunchLayer();
to use the base class type, too. It also matches other methods, like
LayerState::getOutputLayer.
Change-Id: I53fc851eca876d44ba7cb9347f1c62d659c38932
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions