diff options
author | Greg Daniel <egdaniel@google.com> | 2018-06-22 10:44:26 -0400 |
---|---|---|
committer | Greg Daniel <egdaniel@google.com> | 2018-06-22 11:46:18 -0400 |
commit | 2f9d8670e3a307e4ea93648a78c4ed313889b2c5 (patch) | |
tree | 2a6884a8521abd2fb2525f931de25d01ba0eabde /libs/hwui/renderthread/VulkanManager.h | |
parent | 841f7c2f0cbfa387806831d6107899804c9c3bd8 (diff) |
Remove unused member in VulkanManager.
A large part of the previous change was specifically around removing
this ref counted data member, and then I just forgot to delete it...
Test: manual testing
Change-Id: Ie9a7f7495789d45a65900c08a27a9d83ad64617c
Diffstat (limited to 'libs/hwui/renderthread/VulkanManager.h')
-rw-r--r-- | libs/hwui/renderthread/VulkanManager.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/hwui/renderthread/VulkanManager.h b/libs/hwui/renderthread/VulkanManager.h index 2a1b36f8edc7..9a72706e44dd 100644 --- a/libs/hwui/renderthread/VulkanManager.h +++ b/libs/hwui/renderthread/VulkanManager.h @@ -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. @@ -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; |