diff options
| author | 2020-08-27 11:41:20 -0700 | |
|---|---|---|
| committer | 2020-08-27 18:50:02 +0000 | |
| commit | edbe6d264ccd2a277b87577b931aa22ad7d9a90f (patch) | |
| tree | 1a2d3ea082c856784c9c10c063facddcd10bf227 /services/surfaceflinger/RegionSamplingThread.cpp | |
| parent | 535517d9dab705487534a3345994f983f8b448c9 (diff) | |
Handle defer transactions on a detached layer
If a defer transaction is applied on a detached layer, the barrier layer
cannot dequeue its buffer since it incorrectly waits for the detached
layer to commit its dependent pending states. When a layer is detached
we remove all remove sync points. This fix ensures that an already
detached layer does not add any pending states or sync points.
Test: atest SurfaceFlinger_test:DetachChildren#DeferredTransactionOnDetachedChildren
Fixes: 150924737
Change-Id: Iefe4248b1c2f4273d07a0324697a82d0fe9c5e52
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions