Flutter Engine
The Flutter Engine
Skia_Vulkan_Android.h
Go to the documentation of this file.
1/*
2 * Copyright 2017 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 Skia_Vulkan_Android_DEFINED
9#define Skia_Vulkan_Android_DEFINED
10
11#include "SkTypes.h"
12
13#if !defined(SK_BUILD_FOR_ANDROID)
14#error "Must be building for android to use this header"
15#endif
16#if !defined(VK_USE_PLATFORM_ANDROID_KHR)
17# define VK_USE_PLATFORM_ANDROID_KHR
18#endif
19
20#include <vulkan/vulkan.h> // IWYU pragma: export
21
22#endif
23
24
25