Flutter Engine
The Flutter Engine
third_party
skia
include
private
gpu
vk
SkiaVulkan.h
Go to the documentation of this file.
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
13
// IWYU pragma: begin_exports
14
15
#if (SKIA_IMPLEMENTATION || !defined(SK_VULKAN)) && !defined(SK_USE_EXTERNAL_VULKAN_HEADERS)
16
#include "
include/third_party/vulkan/vulkan/vulkan_core.h
"
17
#else
18
// For google3 builds we don't set SKIA_IMPLEMENTATION so we need to make sure that the vulkan
19
// headers stay up to date for our needs
20
#include <
vulkan/vulkan_core.h
>
21
#endif
22
23
#ifdef SK_BUILD_FOR_ANDROID
24
// This is needed to get android extensions for external memory
25
#if (SKIA_IMPLEMENTATION || !defined(SK_VULKAN)) && !defined(SK_USE_EXTERNAL_VULKAN_HEADERS)
26
#include "
include/third_party/vulkan/vulkan/vulkan_android.h
"
27
#else
28
// For google3 builds we don't set SKIA_IMPLEMENTATION so we need to make sure that the vulkan
29
// headers stay up to date for our needs
30
#include <
vulkan/vulkan_android.h
>
31
#endif
32
#endif
33
34
// IWYU pragma: end_exports
35
36
#endif
SkTypes.h
vulkan_android.h
vulkan_core.h
Generated on Sun Jun 23 2024 21:56:03 for Flutter Engine by
1.9.4