Jeremy Ong
a794126d56
vulkan: SDL_Vulkan_GetInstanceExtensions should accept a NULL window.
...
Fixes Bugzilla #4235 .
2018-08-24 09:49:48 -04:00
Mark Callow
be6ca785e3
Support official Vulkan SDK for macOS.
...
This tries to load vulkan.framework or libvulkan.1.dylib before MoltenVK.framework
or libMoltenVK.dylib. In the previous version, layers would not work for applications
run-time loading the default library.
2018-02-25 23:02:09 -08:00
Mark Callow
69958441be
Fix high-dpi support on macOS and simplify it and iOS variant.
...
The detault drawableSize for a CAMetalLayer is its bounds x its scale.
So it is sufficient to set the *layer's* scale to the desired value.
2018-02-21 09:58:21 -08:00
Ryan C. Gordon
fb28393200
vulkan: use "unsigned int" instead of "unsigned"
2017-09-06 19:35:36 -04:00
Sam Lantinga
37ce9f2773
Fixed typedef redefinition errors when including both SDL_vulkan.h and vulkan.h
...
You should always include vulkan/vulkan.h first, then include SDL_vulkan.h
2017-08-27 23:13:15 -07:00
Sam Lantinga
24a0d3bc6d
Don't define Vulkan types if vulkan.h has already been included
2017-08-27 22:27:45 -07:00
Ryan C. Gordon
25e3a1ec90
vulkan: Initial Vulkan support!
...
This work was done by Jacob Lifshay and Mark Callow; I'm just merging it
into revision control.
2017-08-27 22:15:57 -04:00