Loading libs/hwui/renderthread/VulkanManager.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -340,6 +340,8 @@ void VulkanManager::setupDevice(GrVkExtensions& grExtensions, VkPhysicalDeviceFe } void VulkanManager::initialize() { std::lock_guard _lock{mInitializeLock}; if (mDevice != VK_NULL_HANDLE) { return; } Loading libs/hwui/renderthread/VulkanManager.h +2 −0 Original line number Diff line number Diff line Loading @@ -220,6 +220,8 @@ private: VkSemaphore mSwapSemaphore = VK_NULL_HANDLE; void* mDestroySemaphoreContext = nullptr; std::mutex mInitializeLock; }; } /* namespace renderthread */ Loading Loading
libs/hwui/renderthread/VulkanManager.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -340,6 +340,8 @@ void VulkanManager::setupDevice(GrVkExtensions& grExtensions, VkPhysicalDeviceFe } void VulkanManager::initialize() { std::lock_guard _lock{mInitializeLock}; if (mDevice != VK_NULL_HANDLE) { return; } Loading
libs/hwui/renderthread/VulkanManager.h +2 −0 Original line number Diff line number Diff line Loading @@ -220,6 +220,8 @@ private: VkSemaphore mSwapSemaphore = VK_NULL_HANDLE; void* mDestroySemaphoreContext = nullptr; std::mutex mInitializeLock; }; } /* namespace renderthread */ Loading