Upload upstream chromium 69.0.3497
[platform/framework/web/chromium-efl.git] / skia / config / SkVulkanConfig.h
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef GrVulkanDefines_DEFINED
6 #define GrVulkanDefines_DEFINED
7
8 #ifdef SK_VULKAN
9
10 #if defined(USE_X11)
11 // TODO(crbug.com/582554): As Skia backs on XCB for vulkan backend
12 // temporarily define VK_USE_PLATFORM_XCB_KHR to avoid build break.
13 // Change it to VK_USE_PLATFORM_XLIB_KHR if Skia supports xlib in future.
14 #define VK_USE_PLATFORM_XCB_KHR
15 #endif
16
17 #include <vulkan/vulkan.h>
18
19 #endif
20
21 #endif