| | |
| | | /* |
| | | Simple DirectMedia Layer |
| | | Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org> |
| | | Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> |
| | | |
| | | This software is provided 'as-is', without any express or implied |
| | | warranty. In no event will the authors be held liable for any damages |
| | |
| | | #if SDL_VIDEO_DRIVER_COCOA |
| | | #define VK_USE_PLATFORM_MACOS_MVK |
| | | #endif |
| | | #if SDL_VIDEO_DRIVER_MIR |
| | | #define VK_USE_PLATFORM_MIR_KHR |
| | | #endif |
| | | #if SDL_VIDEO_DRIVER_UIKIT |
| | | #define VK_USE_PLATFORM_IOS_MVK |
| | | #endif |
| | |
| | | unsigned nameCount, |
| | | const char *const *names); |
| | | |
| | | /* Create a surface directly from a display connected to a physical device |
| | | * using the DisplayKHR extension. |
| | | * This needs to be passed an instance that was created with the VK_KHR_DISPLAY_EXTENSION_NAME |
| | | * exension. */ |
| | | extern SDL_bool SDL_Vulkan_Display_CreateSurface(void *vkGetInstanceProcAddr, |
| | | VkInstance instance, |
| | | VkSurfaceKHR *surface); |
| | | #else |
| | | |
| | | /* No SDL Vulkan support, just include the header for typedefs */ |