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