1 | #ifndef VULKAN_H_
|
2 | #define VULKAN_H_ 1
|
3 |
|
4 | /*
|
5 | ** Copyright (c) 2015-2019 The Khronos Group Inc.
|
6 | **
|
7 | ** Licensed under the Apache License, Version 2.0 (the "License");
|
8 | ** you may not use this file except in compliance with the License.
|
9 | ** You may obtain a copy of the License at
|
10 | **
|
11 | ** http://www.apache.org/licenses/LICENSE-2.0
|
12 | **
|
13 | ** Unless required by applicable law or agreed to in writing, software
|
14 | ** distributed under the License is distributed on an "AS IS" BASIS,
|
15 | ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16 | ** See the License for the specific language governing permissions and
|
17 | ** limitations under the License.
|
18 | */
|
19 |
|
20 | #include "vk_platform.h"
|
21 | #include "vulkan_core.h"
|
22 |
|
23 | #ifdef VK_USE_PLATFORM_ANDROID_KHR
|
24 | #include "vulkan_android.h"
|
25 | #endif
|
26 |
|
27 | #ifdef VK_USE_PLATFORM_FUCHSIA
|
28 | #include <zircon/types.h>
|
29 | #include "vulkan_fuchsia.h"
|
30 | #include "vulkan_fuchsia_extras.h"
|
31 | #endif
|
32 |
|
33 | #ifdef VK_USE_PLATFORM_IOS_MVK
|
34 | #include "vulkan_ios.h"
|
35 | #endif
|
36 |
|
37 |
|
38 | #ifdef VK_USE_PLATFORM_MACOS_MVK
|
39 | #include "vulkan_macos.h"
|
40 | #endif
|
41 |
|
42 | #ifdef VK_USE_PLATFORM_METAL_EXT
|
43 | #include "vulkan_metal.h"
|
44 | #endif
|
45 |
|
46 | #ifdef VK_USE_PLATFORM_VI_NN
|
47 | #include "vulkan_vi.h"
|
48 | #endif
|
49 |
|
50 |
|
51 | #ifdef VK_USE_PLATFORM_WAYLAND_KHR
|
52 | #include <wayland-client.h>
|
53 | #include "vulkan_wayland.h"
|
54 | #endif
|
55 |
|
56 |
|
57 | #ifdef VK_USE_PLATFORM_WIN32_KHR
|
58 | #include <windows.h>
|
59 | #include "vulkan_win32.h"
|
60 | #endif
|
61 |
|
62 |
|
63 | #ifdef VK_USE_PLATFORM_XCB_KHR
|
64 | #include <xcb/xcb.h>
|
65 | #include "vulkan_xcb.h"
|
66 | #endif
|
67 |
|
68 |
|
69 | #ifdef VK_USE_PLATFORM_XLIB_KHR
|
70 | #include <X11/Xlib.h>
|
71 | #include "vulkan_xlib.h"
|
72 | #endif
|
73 |
|
74 |
|
75 | #ifdef VK_USE_PLATFORM_XLIB_XRANDR_EXT
|
76 | #include <X11/Xlib.h>
|
77 | #include <X11/extensions/Xrandr.h>
|
78 | #include "vulkan_xlib_xrandr.h"
|
79 | #endif
|
80 |
|
81 |
|
82 | #ifdef VK_USE_PLATFORM_GGP
|
83 | #include <ggp_c/vulkan_types.h>
|
84 | #include "vulkan_ggp.h"
|
85 | #endif
|
86 |
|
87 | #endif // VULKAN_H_
|
88 | |