diff options
author | Greg Daniel <egdaniel@google.com> | 2019-01-28 16:10:32 -0500 |
---|---|---|
committer | Greg Daniel <egdaniel@google.com> | 2019-01-29 15:03:10 -0500 |
commit | eaf310e1ce16ddee996bd13af648021865ddeff7 (patch) | |
tree | 460920e5864c08f74c50951f131c2b28c7767891 /libs/hwui/renderthread/VulkanManager.h | |
parent | fdbddda50e329936efe080d742d33bdae83c53fa (diff) |
Update Vulkan skia creation to use apiVersion instead of instanceVersion
This updates to use Skia's new api which takes the vulkan apiVersion
instead of the instance version. This is technically more correct since
the application apiVersion is really the only client modifiable version
value in vulkan.
This change also updates the webview structs to use the apiVersion as
well.
Test: manual build and testing.
Change-Id: I6ce7c20949eb7242f7bbe69955b54c0785696891
Diffstat (limited to 'libs/hwui/renderthread/VulkanManager.h')
-rw-r--r-- | libs/hwui/renderthread/VulkanManager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/renderthread/VulkanManager.h b/libs/hwui/renderthread/VulkanManager.h index abe78efc9174..6426fe2808b7 100644 --- a/libs/hwui/renderthread/VulkanManager.h +++ b/libs/hwui/renderthread/VulkanManager.h @@ -246,7 +246,7 @@ private: VkCommandBuffer mDummyCB = VK_NULL_HANDLE; // Variables saved to populate VkFunctorInitParams. - uint32_t mInstanceVersion = 0u; + static const uint32_t mAPIVersion = VK_MAKE_VERSION(1, 1, 0); std::vector<const char*> mInstanceExtensions; std::vector<const char*> mDeviceExtensions; VkPhysicalDeviceFeatures2 mPhysicalDeviceFeatures2{}; |