5 ** Copyright (c) 2015-2018 The Khronos Group Inc.
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
11 ** http://www.apache.org/licenses/LICENSE-2.0
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.
20 #include "vk_platform.h"
21 #include "vulkan_core.h"
23 #ifdef VK_USE_PLATFORM_ANDROID_KHR
24 #include "vulkan_android.h"
28 #ifdef VK_USE_PLATFORM_IOS_MVK
29 #include "vulkan_ios.h"
33 #ifdef VK_USE_PLATFORM_MACOS_MVK
34 #include "vulkan_macos.h"
38 #ifdef VK_USE_PLATFORM_MIR_KHR
39 #include <mir_toolkit/client_types.h>
40 #include "vulkan_mir.h"
44 #ifdef VK_USE_PLATFORM_VI_NN
45 #include "vulkan_vi.h"
49 #ifdef VK_USE_PLATFORM_WAYLAND_KHR
50 #include <wayland-client.h>
51 #include "vulkan_wayland.h"
55 #ifdef VK_USE_PLATFORM_WIN32_KHR
57 #include "vulkan_win32.h"
61 #ifdef VK_USE_PLATFORM_XCB_KHR
63 #include "vulkan_xcb.h"
67 #ifdef VK_USE_PLATFORM_XLIB_KHR
69 #include "vulkan_xlib.h"
73 #ifdef VK_USE_PLATFORM_XLIB_XRANDR_EXT
75 #include <X11/extensions/Xrandr.h>
76 #include "vulkan_xlib_xrandr.h"