• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2018 Google Inc.
3  *
4  * Use of this source code is governed by a BSD-style license that can be
5  * found in the LICENSE file.
6  */
7 
8 #ifndef SkiaVulkan_DEFINED
9 #define SkiaVulkan_DEFINED
10 
11 #include "include/core/SkTypes.h"
12 #include "vulkan/vulkan_core.h"
13 
14 // IWYU pragma: begin_exports
15 
16 #ifdef VK_USE_PLATFORM_OHOS
17 #include <vulkan/vulkan_ohos.h>
18 #endif
19 
20 #ifdef SK_BUILD_FOR_ANDROID
21 // This is needed to get android extensions for external memory
22 #if defined(SK_USE_INTERNAL_VULKAN_HEADERS) && !defined(SK_BUILD_FOR_GOOGLE3)
23 #include "include/third_party/vulkan/vulkan/vulkan_android.h"
24 #else
25 // For google3 builds we don't set SKIA_IMPLEMENTATION so we need to make sure that the vulkan
26 // headers stay up to date for our needs
27 #include <vulkan/vulkan_android.h>
28 #endif
29 #endif
30 
31 #include "src/gpu/vk/vulkan_header_ext_huawei.h"
32 // IWYU pragma: end_exports
33 
34 #endif
35