commit | d79cf524db780279b22949b9e1458f096fa02a1d | [log] [tgz] |
---|---|---|
author | Yilong Li <liyl@google.com> | Thu May 06 13:29:55 2021 -0700 |
committer | Yilong Li <liyl@google.com> | Thu May 06 13:29:55 2021 -0700 |
tree | a5e625251ee2d7735679cdf39222d80dd5b75e03 | |
parent | 12cdcf3c6615ba0f978991e5cce1ed6b63f417a4 [diff] |
vulkan: Use RecursiveLock in ResourceTracker This allows recursive locking of ResourceTracker, so as to reduce deadlocks when modifying Vulkan handle states in another Vulkan call handler, e.g. destroy a VkFence (and its state) associated with a VkDevice in unregister_VkDevice (called by on_vkDestroyDevice). Change-Id: I0cba4a98ae74ca1a250255d749e15e7467ab6c8a