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