summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2020-08-27 11:41:20 -0700
committer Vishnu Nair <vishnun@google.com> 2020-09-16 15:32:58 +0000
commit63bd9936da85a2119b6137d85cd1abed8c608029 (patch)
tree42cd761890e68a0110e7f1aa6ead2ea1b0dac399 /vulkan/libvulkan/api.cpp
parentec3b36a49b0dc802a7dbdb15b2836c1afe6be98f (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 (cherry picked from commit edbe6d264ccd2a277b87577b931aa22ad7d9a90f)
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions