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.
5 #ifndef GrVulkanDefines_DEFINED
6 #define GrVulkanDefines_DEFINED
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
17 #include <vulkan/vulkan.h>