Use new GrVkBackendContext::Create api
Test: manual testing
Change-Id: Ia8daebd2e028082a8b3d58f29057648746398735
diff --git a/libs/hwui/renderthread/VulkanManager.cpp b/libs/hwui/renderthread/VulkanManager.cpp
index c2c2f22..a745320 100644
--- a/libs/hwui/renderthread/VulkanManager.cpp
+++ b/libs/hwui/renderthread/VulkanManager.cpp
@@ -54,7 +54,8 @@
auto canPresent = [](VkInstance, VkPhysicalDevice, uint32_t) { return true; };
- mBackendContext.reset(GrVkBackendContext::Create(&mPresentQueueIndex, canPresent));
+ mBackendContext.reset(GrVkBackendContext::Create(vkGetInstanceProcAddr, vkGetDeviceProcAddr,
+ &mPresentQueueIndex, canPresent));
// Get all the addresses of needed vulkan functions
VkInstance instance = mBackendContext->fInstance;