Flutter Engine
The Flutter Engine
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
12
13// IWYU pragma: begin_exports
14
15#if (SKIA_IMPLEMENTATION || !defined(SK_VULKAN)) && !defined(SK_USE_EXTERNAL_VULKAN_HEADERS)
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)
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
31#endif
32#endif
33
34// IWYU pragma: end_exports
35
36#endif