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

Unified Diff: include/gpu/vk/GrVkBackendContext.h

Issue 1834903003: Add WSI functions to GrVkInterface (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add Android and Xlib Created 4 years, 9 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
Index: include/gpu/vk/GrVkBackendContext.h
diff --git a/include/gpu/vk/GrVkBackendContext.h b/include/gpu/vk/GrVkBackendContext.h
index 8f4ba04584ed92e2dd2d9bfd525a91bc96d85b08..82a9f94bccd46f34cb44ebc4105a4ef05247e0a1 100644
--- a/include/gpu/vk/GrVkBackendContext.h
+++ b/include/gpu/vk/GrVkBackendContext.h
@@ -10,7 +10,7 @@
#include "SkRefCnt.h"
-#include "vulkan/vulkan.h"
+#include "vk/GrVkDefines.h"
#ifdef SK_DEBUG
#define ENABLE_VK_LAYERS
@@ -19,8 +19,13 @@
struct GrVkInterface;
enum GrVkExtensionFlags {
- kEXT_debug_report_GrVkExtensionFlag = 0x0001,
- kNV_glsl_shader_GrVkExtensionFlag = 0x0002,
+ kEXT_debug_report_GrVkExtensionFlag = 0x0001,
bsalomon 2016/03/28 13:05:47 Does this mix interface and device extensions? Do
jvanverth1 2016/03/28 13:35:38 The extensions are specified in docs just like Ope
+ kNV_glsl_shader_GrVkExtensionFlag = 0x0002,
+ kKHR_surface_GrVkExtensionFlag = 0x0004,
+ kKHR_swapchain_GrVkExtensionFlag = 0x0008,
+ kKHR_win32_surface_GrVkExtensionFlag = 0x0010,
+ kKHR_android_surface_GrVkExtensionFlag = 0x0020,
+ kKHR_xlib_surface_GrVkExtensionFlag = 0x0040,
};
enum GrVkFeatureFlags {
« no previous file with comments | « gyp/gpu.gypi ('k') | include/gpu/vk/GrVkDefines.h » ('j') | include/gpu/vk/GrVkInterface.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698