1 | #ifndef VULKAN_H_ |
2 | #define VULKAN_H_ 1 |
3 | |
4 | /* |
5 | ** Copyright (c) 2015-2018 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 | |
28 | #ifdef VK_USE_PLATFORM_IOS_MVK |
29 | #include "vulkan_ios.h" |
30 | #endif |
31 | |
32 | |
33 | #ifdef VK_USE_PLATFORM_MACOS_MVK |
34 | #include "vulkan_macos.h" |
35 | #endif |
36 | |
37 | |
38 | #ifdef VK_USE_PLATFORM_MIR_KHR |
39 | #include <mir_toolkit/client_types.h> |
40 | #include "vulkan_mir.h" |
41 | #endif |
42 | |
43 | |
44 | #ifdef VK_USE_PLATFORM_VI_NN |
45 | #include "vulkan_vi.h" |
46 | #endif |
47 | |
48 | |
49 | #ifdef VK_USE_PLATFORM_WAYLAND_KHR |
50 | #include <wayland-client.h> |
51 | #include "vulkan_wayland.h" |
52 | #endif |
53 | |
54 | |
55 | #ifdef VK_USE_PLATFORM_WIN32_KHR |
56 | #include <windows.h> |
57 | #include "vulkan_win32.h" |
58 | #endif |
59 | |
60 | |
61 | #ifdef VK_USE_PLATFORM_XCB_KHR |
62 | #include <xcb/xcb.h> |
63 | #include "vulkan_xcb.h" |
64 | #endif |
65 | |
66 | |
67 | #ifdef VK_USE_PLATFORM_XLIB_KHR |
68 | #include <X11/Xlib.h> |
69 | #include "vulkan_xlib.h" |
70 | #endif |
71 | |
72 | |
73 | #ifdef VK_USE_PLATFORM_XLIB_XRANDR_EXT |
74 | #include <X11/Xlib.h> |
75 | #include <X11/extensions/Xrandr.h> |
76 | #include "vulkan_xlib_xrandr.h" |
77 | #endif |
78 | |
79 | #endif // VULKAN_H_ |
80 | |