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

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

Issue 1999213002: Add Xlib support to viewer (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Remove viewer hack Created 4 years, 7 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 | « include/gpu/vk/GrVkBackendContext.h ('k') | src/gpu/vk/GrVkBackendContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/vk/GrVkDefines.h
diff --git a/include/gpu/vk/GrVkDefines.h b/include/gpu/vk/GrVkDefines.h
index 7f4b59dccfb7a4f28703bdf8882348aae616d6f9..9caf2d75e524e4da71e93045fc94377f5a75553c 100644
--- a/include/gpu/vk/GrVkDefines.h
+++ b/include/gpu/vk/GrVkDefines.h
@@ -14,7 +14,7 @@
#elif defined(SK_BUILD_FOR_ANDROID)
# define VK_USE_PLATFORM_ANDROID_KHR
#elif defined(SK_BUILD_FOR_UNIX)
-# define VK_USE_PLATFORM_XLIB_KHR
+# define VK_USE_PLATFORM_XCB_KHR
#endif
#if defined(Bool) || defined(Status) || defined(True) || defined(False)
@@ -23,19 +23,4 @@
#include <vulkan/vulkan.h>
-
-// Xlib.h may define these macros with common names (Grrr)
-#ifdef Bool
-# undef Bool
-#endif
-#ifdef Status
-# undef Status
-#endif
-#ifdef True
-# undef True
-#endif
-#ifdef False
-# undef False
-#endif
-
#endif
« no previous file with comments | « include/gpu/vk/GrVkBackendContext.h ('k') | src/gpu/vk/GrVkBackendContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698