1 | #ifndef VULKAN_H_ |
2 | #define VULKAN_H_ 1 |
3 | |
4 | /* |
5 | ** Copyright 2015-2022 The Khronos Group Inc. |
6 | ** |
7 | ** SPDX-License-Identifier: Apache-2.0 |
8 | */ |
9 | |
10 | #include "vk_platform.h" |
11 | #include "vulkan_core.h" |
12 | |
13 | #ifdef VK_USE_PLATFORM_ANDROID_KHR |
14 | #include "vulkan_android.h" |
15 | #endif |
16 | |
17 | #ifdef VK_USE_PLATFORM_FUCHSIA |
18 | #include <zircon/types.h> |
19 | #include "vulkan_fuchsia.h" |
20 | #endif |
21 | |
22 | #ifdef VK_USE_PLATFORM_IOS_MVK |
23 | #include "vulkan_ios.h" |
24 | #endif |
25 | |
26 | |
27 | #ifdef VK_USE_PLATFORM_MACOS_MVK |
28 | #include "vulkan_macos.h" |
29 | #endif |
30 | |
31 | #ifdef VK_USE_PLATFORM_METAL_EXT |
32 | #include "vulkan_metal.h" |
33 | #endif |
34 | |
35 | #ifdef VK_USE_PLATFORM_VI_NN |
36 | #include "vulkan_vi.h" |
37 | #endif |
38 | |
39 | |
40 | #ifdef VK_USE_PLATFORM_WAYLAND_KHR |
41 | #include <wayland-client.h> |
42 | #include "vulkan_wayland.h" |
43 | #endif |
44 | |
45 | |
46 | #ifdef VK_USE_PLATFORM_WIN32_KHR |
47 | #include <windows.h> |
48 | #include "vulkan_win32.h" |
49 | #endif |
50 | |
51 | |
52 | #ifdef VK_USE_PLATFORM_XCB_KHR |
53 | #include <xcb/xcb.h> |
54 | #include "vulkan_xcb.h" |
55 | #endif |
56 | |
57 | |
58 | #ifdef VK_USE_PLATFORM_XLIB_KHR |
59 | #include <X11/Xlib.h> |
60 | #include "vulkan_xlib.h" |
61 | #endif |
62 | |
63 | |
64 | #ifdef VK_USE_PLATFORM_DIRECTFB_EXT |
65 | #include <directfb.h> |
66 | #include "vulkan_directfb.h" |
67 | #endif |
68 | |
69 | |
70 | #ifdef VK_USE_PLATFORM_XLIB_XRANDR_EXT |
71 | #include <X11/Xlib.h> |
72 | #include <X11/extensions/Xrandr.h> |
73 | #include "vulkan_xlib_xrandr.h" |
74 | #endif |
75 | |
76 | |
77 | #ifdef VK_USE_PLATFORM_GGP |
78 | #include <ggp_c/vulkan_types.h> |
79 | #include "vulkan_ggp.h" |
80 | #endif |
81 | |
82 | |
83 | #ifdef VK_USE_PLATFORM_SCREEN_QNX |
84 | #include <screen/screen.h> |
85 | #include "vulkan_screen.h" |
86 | #endif |
87 | |
88 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
89 | #include "vulkan_beta.h" |
90 | #endif |
91 | |
92 | #endif // VULKAN_H_ |
93 | |