diff options
author | 2021-12-09 12:02:39 -0800 | |
---|---|---|
committer | 2021-12-09 12:07:14 -0800 | |
commit | 2b1212b9b1d626a7d8da530429a660db33c4c7e6 (patch) | |
tree | d1fdb409cb54a4fdb77550854aa0b89df33bd9dd /libs/ui/StaticAsserts.cpp | |
parent | 2c709212cf6dabf14d7835ef4453ac0cb57dad03 (diff) |
Ensure that LayerFECompositionState's fence is always non-null
When a solid color layer is overridden by a cached set AND the layer is
skipped due to a prior overridden layer, acquireFence must be nonnull.
Otherwise, the DisplayHardware apis will fail.
To be less error-prone, set LayerFECompositionState's acquire fence to be
Fence::NO_FENCE.
Bug: 209930535
Bug: 208780233
Test: PiP in maps app
Change-Id: Ia896419eb699903453f6f69e4b6c3527e62ec270
Diffstat (limited to 'libs/ui/StaticAsserts.cpp')
0 files changed, 0 insertions, 0 deletions