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
1 file changed