RetroArch
vksym.h
Go to the documentation of this file.
1 /* RetroArch - A frontend for libretro.
2  * Copyright (C) 2016-2017 - Hans-Kristian Arntzen
3  * Copyright (C) 2011-2017 - Daniel De Matteis
4  *
5  * RetroArch is free software: you can redistribute it and/or modify it under the terms
6  * of the GNU General Public License as published by the Free Software Found-
7  * ation, either version 3 of the License, or (at your option) any later version.
8  *
9  * RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
10  * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  * PURPOSE. See the GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License along with RetroArch.
14  * If not, see <http://www.gnu.org/licenses/>.
15  */
16 
17 #ifndef _VULKAN_VKSYM_H
18 #define _VULKAN_VKSYM_H
19 
20 #include <boolean.h>
21 
22 #ifdef HAVE_CONFIG_H
23 #include "../../config.h"
24 #endif
25 
26 #ifdef HAVE_WAYLAND
27 #define VK_USE_PLATFORM_WAYLAND_KHR
28 #endif
29 
30 #ifdef HAVE_MIR
31 #define VK_USE_PLATFORM_MIR_KHR
32 #endif
33 
34 #ifdef _WIN32
35 #define VK_USE_PLATFORM_WIN32_KHR
36 #endif
37 
38 #ifdef ANDROID
39 #define VK_USE_PLATFORM_ANDROID_KHR
40 #endif
41 
42 #ifdef HAVE_XCB
43 #define VK_USE_PLATFORM_XCB_KHR
44 #endif
45 
46 #ifdef HAVE_XLIB
47 #define VK_USE_PLATFORM_XLIB_KHR
48 #endif
49 
50 #ifdef HAVE_COCOA
51 #define VK_USE_PLATFORM_MACOS_MVK
52 #endif
53 
54 #ifdef HAVE_COCOATOUCH
55 #define VK_USE_PLATFORM_IOS_MVK
56 #endif
57 
59 
60 #endif