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 GrVkVulkan_DEFINED 9 #define GrVkVulkan_DEFINED 10 11 #include "include/core/SkTypes.h" 12 #include "third_party/vulkan-headers/include/vulkan/vulkan_core.h" 13 14 #ifdef VK_USE_PLATFORM_OHOS 15 #include <vulkan/vulkan_ohos.h> 16 #endif 17 18 #ifdef SK_BUILD_FOR_ANDROID 19 // This is needed to get android extensions for external memory 20 #if SKIA_IMPLEMENTATION || !defined(SK_VULKAN) 21 #include "include/third_party/vulkan/vulkan/vulkan_android.h" 22 #else 23 // For google3 builds we don't set SKIA_IMPLEMENTATION so we need to make sure that the vulkan 24 // headers stay up to date for our needs 25 #include <vulkan/vulkan_android.h> 26 #endif 27 #endif 28 29 #include "src/gpu/vk/vulkan_header_ext_huawei.h" 30 31 #endif 32