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