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

Unified Diff: gpu/vulkan/vulkan_device_queue.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 | « no previous file | gpu/vulkan/vulkan_implementation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/vulkan/vulkan_device_queue.cc
diff --git a/gpu/vulkan/vulkan_device_queue.cc b/gpu/vulkan/vulkan_device_queue.cc
index aa6f987c7a62c9bef0e1489c3b6e7960f311448a..28000d5e47e4021ec3e5825f98bdd5ed427b1943 100644
--- a/gpu/vulkan/vulkan_device_queue.cc
+++ b/gpu/vulkan/vulkan_device_queue.cc
@@ -75,6 +75,10 @@ bool VulkanDeviceQueue::Initialize(uint32_t options) {
visual_id)) {
continue;
}
+#elif defined(VK_USE_PLATFORM_ANDROID_KHR)
+// On Android, all physical devices and queue families must be capable of
+// presentation with any native window.
+// As a result there is no Android-specific query for these capabilities.
#else
#error Non-Supported Vulkan implementation.
#endif
« no previous file with comments | « no previous file | gpu/vulkan/vulkan_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698