Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(261)

Unified Diff: gpu/vulkan/vulkan_implementation.cc

Issue 1925603002: Introduce Android WSI extension for Vulkan. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/vulkan/vulkan_device_queue.cc ('k') | gpu/vulkan/vulkan_platform.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/vulkan/vulkan_implementation.cc
diff --git a/gpu/vulkan/vulkan_implementation.cc b/gpu/vulkan/vulkan_implementation.cc
index f7924f37f418e7183a848472dcac697018fc5be5..731842bb4ed8417589af72b40b4d985e8b7e4cbf 100644
--- a/gpu/vulkan/vulkan_implementation.cc
+++ b/gpu/vulkan/vulkan_implementation.cc
@@ -60,6 +60,8 @@ struct VulkanInstance {
#if defined(VK_USE_PLATFORM_XLIB_KHR)
enabled_ext_names.push_back(VK_KHR_XLIB_SURFACE_EXTENSION_NAME);
+#elif defined(VK_USE_PLATFORM_ANDROID_KHR)
+ enabled_ext_names.push_back(VK_KHR_ANDROID_SURFACE_EXTENSION_NAME);
#endif
uint32_t num_instance_exts = 0;
« no previous file with comments | « gpu/vulkan/vulkan_device_queue.cc ('k') | gpu/vulkan/vulkan_platform.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698