summaryrefslogtreecommitdiff
path: root/tests/SystemUIDemoModeController/Android.bp
diff options
context:
space:
mode:
author Alec Mouri <alecmouri@google.com> 2023-06-21 15:43:46 +0000
committer Alec Mouri <alecmouri@google.com> 2023-06-21 19:06:56 +0000
commit7dec49e7733e7b2237e63648fa3f43ab419b7d33 (patch)
tree78ed34c9800002d49790ddc65dc324023370cd63 /tests/SystemUIDemoModeController/Android.bp
parent057c1e7c20f87deab3213ca4c6cd148d37963acf (diff)
Remove vkDeviceWaitIdle call when destroying VulkanSurface
vkDeviceWaitIdle requires external synchronization of all queues created from the VkDevice, which would mean that we would need to add locking to the AHB uploader queue for this to be thread-safe. However, we should not need to wait for queue submissions for the AHB uploader at all for destroying the output surface, because the AHB uploader queue is meant for swizzling bitmaps - there's no dependency on the output surface. So, it is just sufficient to wait on submission of the graphics queue, which is currently thread-safe as all graphics queue operations occur only on renderthread. Bug: 288201932 Change-Id: Ia3ca1600f22941d9900b2e5451f7572a79abf049 Test: builds Test: com.android.launcher3.ui.TaplTestsLauncher3#testDragShortcutToWorkspaceCell 99 times
Diffstat (limited to 'tests/SystemUIDemoModeController/Android.bp')
0 files changed, 0 insertions, 0 deletions