1 #ifndef VULKAN_H_ 2 #define VULKAN_H_ 1 3 4 /* 5 ** Copyright (c) 2015-2020 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 #endif 31 32 #ifdef VK_USE_PLATFORM_IOS_MVK 33 #include "vulkan_ios.h" 34 #endif 35 36 37 #ifdef VK_USE_PLATFORM_MACOS_MVK 38 #include "vulkan_macos.h" 39 #endif 40 41 #ifdef VK_USE_PLATFORM_METAL_EXT 42 #include "vulkan_metal.h" 43 #endif 44 45 #ifdef VK_USE_PLATFORM_VI_NN 46 #include "vulkan_vi.h" 47 #endif 48 49 50 #ifdef VK_USE_PLATFORM_WAYLAND_KHR 51 #include <wayland-client.h> 52 #include "vulkan_wayland.h" 53 #endif 54 55 56 #ifdef VK_USE_PLATFORM_WIN32_KHR 57 #include <windows.h> 58 #include "vulkan_win32.h" 59 #endif 60 61 62 #ifdef VK_USE_PLATFORM_XCB_KHR 63 #include <xcb/xcb.h> 64 #include "vulkan_xcb.h" 65 #endif 66 67 68 #ifdef VK_USE_PLATFORM_XLIB_KHR 69 #include <X11/Xlib.h> 70 #include "vulkan_xlib.h" 71 #endif 72 73 74 #ifdef VK_USE_PLATFORM_XLIB_XRANDR_EXT 75 #include <X11/Xlib.h> 76 #include <X11/extensions/Xrandr.h> 77 #include "vulkan_xlib_xrandr.h" 78 #endif 79 80 81 #ifdef VK_USE_PLATFORM_GGP 82 #include <ggp_c/vulkan_types.h> 83 #include "vulkan_ggp.h" 84 #endif 85 86 87 #ifdef VK_ENABLE_BETA_EXTENSIONS 88 #include "vulkan_beta.h" 89 #endif 90 91 #endif // VULKAN_H_ 92