Loading libs/hwui/renderthread/VulkanManager.h +1 −3 Original line number Diff line number Diff line Loading @@ -79,7 +79,7 @@ public: void initialize(); // Quick check to see if the VulkanManager has been initialized. bool hasVkContext() { return mBackendContext.get() != nullptr; } bool hasVkContext() { return mDevice != VK_NULL_HANDLE; } // Given a window this creates a new VkSurfaceKHR and VkSwapchain and stores them inside a new // VulkanSurface object which is returned. Loading Loading @@ -188,8 +188,6 @@ private: RenderThread& mRenderThread; sk_sp<const GrVkBackendContext> mBackendContext; VkInstance mInstance = VK_NULL_HANDLE; VkPhysicalDevice mPhysicalDevice = VK_NULL_HANDLE; VkDevice mDevice = VK_NULL_HANDLE; Loading Loading
libs/hwui/renderthread/VulkanManager.h +1 −3 Original line number Diff line number Diff line Loading @@ -79,7 +79,7 @@ public: void initialize(); // Quick check to see if the VulkanManager has been initialized. bool hasVkContext() { return mBackendContext.get() != nullptr; } bool hasVkContext() { return mDevice != VK_NULL_HANDLE; } // Given a window this creates a new VkSurfaceKHR and VkSwapchain and stores them inside a new // VulkanSurface object which is returned. Loading Loading @@ -188,8 +188,6 @@ private: RenderThread& mRenderThread; sk_sp<const GrVkBackendContext> mBackendContext; VkInstance mInstance = VK_NULL_HANDLE; VkPhysicalDevice mPhysicalDevice = VK_NULL_HANDLE; VkDevice mDevice = VK_NULL_HANDLE; Loading