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 #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 42 #ifdef VK_USE_PLATFORM_VI_NN 43 #include "vulkan_vi.h" 44 #endif 45 46 47 #ifdef VK_USE_PLATFORM_WAYLAND_KHR 48 #include <wayland-client.h> 49 #include "vulkan_wayland.h" 50 #endif 51 52 53 #ifdef VK_USE_PLATFORM_WIN32_KHR 54 #include <windows.h> 55 #include "vulkan_win32.h" 56 #endif 57 58 59 #ifdef VK_USE_PLATFORM_XCB_KHR 60 #include <xcb/xcb.h> 61 #include "vulkan_xcb.h" 62 #endif 63 64 65 #ifdef VK_USE_PLATFORM_XLIB_KHR 66 #include <X11/Xlib.h> 67 #include "vulkan_xlib.h" 68 #endif 69 70 71 #ifdef VK_USE_PLATFORM_XLIB_XRANDR_EXT 72 #include <X11/Xlib.h> 73 #include <X11/extensions/Xrandr.h> 74 #include "vulkan_xlib_xrandr.h" 75 #endif 76 77 #endif // VULKAN_H_ 78