| Jon Ashburn | b25e4fc | 2016-03-07 11:07:19 -0700 | [diff] [blame] | 1 | #ifndef VULKAN_H_ |
| 2 | #define VULKAN_H_ 1 |
| Courtney Goeltzenleuchter | ac19112 | 2015-07-12 12:21:19 -0600 | [diff] [blame] | 3 | |
| Courtney Goeltzenleuchter | 64d1a71 | 2015-04-08 18:04:29 -0600 | [diff] [blame] | 4 | /* |
| Mark Lobodzinski | dbe7dce | 2018-01-08 08:17:24 -0700 | [diff] [blame] | 5 | ** Copyright (c) 2015-2018 The Khronos Group Inc. |
| Jon Ashburn | f6e6a15 | 2016-04-22 08:49:39 -0600 | [diff] [blame] | 6 | ** |
| Jon Ashburn | 3ebf125 | 2016-04-19 11:30:31 -0600 | [diff] [blame] | 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 |
| Courtney Goeltzenleuchter | 64d1a71 | 2015-04-08 18:04:29 -0600 | [diff] [blame] | 10 | ** |
| Jon Ashburn | 3ebf125 | 2016-04-19 11:30:31 -0600 | [diff] [blame] | 11 | ** http://www.apache.org/licenses/LICENSE-2.0 |
| Courtney Goeltzenleuchter | 64d1a71 | 2015-04-08 18:04:29 -0600 | [diff] [blame] | 12 | ** |
| Jon Ashburn | 3ebf125 | 2016-04-19 11:30:31 -0600 | [diff] [blame] | 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. |
| Courtney Goeltzenleuchter | 64d1a71 | 2015-04-08 18:04:29 -0600 | [diff] [blame] | 18 | */ |
| 19 | |
| Courtney Goeltzenleuchter | ac19112 | 2015-07-12 12:21:19 -0600 | [diff] [blame] | 20 | #include "vk_platform.h" |
| Mike Schuchardt | b4c9f67 | 2018-02-21 15:59:17 -0700 | [diff] [blame] | 21 | #include "vulkan_core.h" |
| Ian Elliott | 3a2d1e4 | 2015-11-18 12:24:57 -0700 | [diff] [blame] | 22 | |
| 23 | #ifdef VK_USE_PLATFORM_ANDROID_KHR |
| Mike Schuchardt | b4c9f67 | 2018-02-21 15:59:17 -0700 | [diff] [blame] | 24 | #include "vulkan_android.h" |
| Mark Young | 3938987 | 2017-01-19 21:10:49 -0700 | [diff] [blame] | 25 | #endif |
| 26 | |
| Mark Young | 3938987 | 2017-01-19 21:10:49 -0700 | [diff] [blame] | 27 | |
| Mike Schuchardt | b4c9f67 | 2018-02-21 15:59:17 -0700 | [diff] [blame] | 28 | #ifdef VK_USE_PLATFORM_IOS_MVK |
| 29 | #include "vulkan_ios.h" |
| Mark Young | 3938987 | 2017-01-19 21:10:49 -0700 | [diff] [blame] | 30 | #endif |
| 31 | |
| Mark Young | abc2d6e | 2017-07-07 07:59:56 -0600 | [diff] [blame] | 32 | |
| Mike Schuchardt | b4c9f67 | 2018-02-21 15:59:17 -0700 | [diff] [blame] | 33 | #ifdef VK_USE_PLATFORM_MACOS_MVK |
| 34 | #include "vulkan_macos.h" |
| Mark Young | abc2d6e | 2017-07-07 07:59:56 -0600 | [diff] [blame] | 35 | #endif |
| 36 | |
| Mark Young | abc2d6e | 2017-07-07 07:59:56 -0600 | [diff] [blame] | 37 | |
| Mike Schuchardt | b4c9f67 | 2018-02-21 15:59:17 -0700 | [diff] [blame] | 38 | #ifdef VK_USE_PLATFORM_MIR_KHR |
| 39 | #include <mir_toolkit/client_types.h> |
| 40 | #include "vulkan_mir.h" |
| Mark Young | abc2d6e | 2017-07-07 07:59:56 -0600 | [diff] [blame] | 41 | #endif |
| Mark Lobodzinski | 1577dab | 2016-09-27 08:23:59 -0600 | [diff] [blame] | 42 | |
| 43 | |
| Mark Young | 3938987 | 2017-01-19 21:10:49 -0700 | [diff] [blame] | 44 | #ifdef VK_USE_PLATFORM_VI_NN |
| Mike Schuchardt | b4c9f67 | 2018-02-21 15:59:17 -0700 | [diff] [blame] | 45 | #include "vulkan_vi.h" |
| Mark Young | 0f183a8 | 2017-02-28 09:58:04 -0700 | [diff] [blame] | 46 | #endif |
| 47 | |
| Mark Lobodzinski | 2d58982 | 2016-12-12 09:44:34 -0700 | [diff] [blame] | 48 | |
| Mike Schuchardt | b4c9f67 | 2018-02-21 15:59:17 -0700 | [diff] [blame] | 49 | #ifdef VK_USE_PLATFORM_WAYLAND_KHR |
| 50 | #include <wayland-client.h> |
| 51 | #include "vulkan_wayland.h" |
| Mark Lobodzinski | 2d58982 | 2016-12-12 09:44:34 -0700 | [diff] [blame] | 52 | #endif |
| 53 | |
| Mark Young | 0f183a8 | 2017-02-28 09:58:04 -0700 | [diff] [blame] | 54 | |
| Mike Schuchardt | b4c9f67 | 2018-02-21 15:59:17 -0700 | [diff] [blame] | 55 | #ifdef VK_USE_PLATFORM_WIN32_KHR |
| 56 | #include <windows.h> |
| 57 | #include "vulkan_win32.h" |
| Mark Young | 0f183a8 | 2017-02-28 09:58:04 -0700 | [diff] [blame] | 58 | #endif |
| 59 | |
| Mark Young | 3938987 | 2017-01-19 21:10:49 -0700 | [diff] [blame] | 60 | |
| Mike Schuchardt | b4c9f67 | 2018-02-21 15:59:17 -0700 | [diff] [blame] | 61 | #ifdef VK_USE_PLATFORM_XCB_KHR |
| 62 | #include <xcb/xcb.h> |
| 63 | #include "vulkan_xcb.h" |
| Mark Young | 3938987 | 2017-01-19 21:10:49 -0700 | [diff] [blame] | 64 | #endif |
| 65 | |
| Mike Schuchardt | b4c9f67 | 2018-02-21 15:59:17 -0700 | [diff] [blame] | 66 | |
| 67 | #ifdef VK_USE_PLATFORM_XLIB_KHR |
| 68 | #include <X11/Xlib.h> |
| 69 | #include "vulkan_xlib.h" |
| 70 | #endif |
| 71 | |
| 72 | |
| Mark Young | 3938987 | 2017-01-19 21:10:49 -0700 | [diff] [blame] | 73 | #ifdef VK_USE_PLATFORM_XLIB_XRANDR_EXT |
| Mike Schuchardt | b4c9f67 | 2018-02-21 15:59:17 -0700 | [diff] [blame] | 74 | #include <X11/Xlib.h> |
| Mark Young | 3938987 | 2017-01-19 21:10:49 -0700 | [diff] [blame] | 75 | #include <X11/extensions/Xrandr.h> |
| Mike Schuchardt | b4c9f67 | 2018-02-21 15:59:17 -0700 | [diff] [blame] | 76 | #include "vulkan_xlib_xrandr.h" |
| Mark Young | 3938987 | 2017-01-19 21:10:49 -0700 | [diff] [blame] | 77 | #endif |
| 78 | |
| Mike Schuchardt | b4c9f67 | 2018-02-21 15:59:17 -0700 | [diff] [blame] | 79 | #endif // VULKAN_H_ |