1 #ifndef VULKAN_H_ 2 #define VULKAN_H_ 1 3 4 /* 5 ** Copyright 2015-2023 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 "vulkan_wayland.h" 42 #endif 43 44 45 #ifdef VK_USE_PLATFORM_WIN32_KHR 46 #include <windows.h> 47 #include "vulkan_win32.h" 48 #endif 49 50 51 #ifdef VK_USE_PLATFORM_XCB_KHR 52 #include <xcb/xcb.h> 53 #include "vulkan_xcb.h" 54 #endif 55 56 57 #ifdef VK_USE_PLATFORM_XLIB_KHR 58 #include <X11/Xlib.h> 59 #include "vulkan_xlib.h" 60 #endif 61 62 63 #ifdef VK_USE_PLATFORM_DIRECTFB_EXT 64 #include <directfb.h> 65 #include "vulkan_directfb.h" 66 #endif 67 68 69 #ifdef VK_USE_PLATFORM_XLIB_XRANDR_EXT 70 #include <X11/Xlib.h> 71 #include <X11/extensions/Xrandr.h> 72 #include "vulkan_xlib_xrandr.h" 73 #endif 74 75 76 #ifdef VK_USE_PLATFORM_GGP 77 #include <ggp_c/vulkan_types.h> 78 #include "vulkan_ggp.h" 79 #endif 80 81 82 #ifdef VK_USE_PLATFORM_SCREEN_QNX 83 #include <screen/screen.h> 84 #include "vulkan_screen.h" 85 #endif 86 87 88 #ifdef VK_USE_PLATFORM_SCI 89 #include <nvscisync.h> 90 #include <nvscibuf.h> 91 #include "vulkan_sci.h" 92 #endif 93 94 95 #ifdef VK_ENABLE_BETA_EXTENSIONS 96 #include "vulkan_beta.h" 97 #endif 98 99 #ifdef VK_USE_PLATFORM_OHOS 100 #include "vulkan_ohos.h" 101 #endif 102 103 #endif // VULKAN_H_ 104