vulkan: Initial Vulkan support!

This work was done by Jacob Lifshay and Mark Callow; I'm just merging it
into revision control.

--HG--
extra : rebase_source : cb3bb332146125366b5242c0d7444f44638733d9
extra : amend_source : c72ebb6d3a92efc3fdd085ce3b6d4b1d7f573cc9
This commit is contained in:
Ryan C. Gordon 2017-08-27 22:15:57 -04:00
parent 0ff15ac41b
commit a566435db1
60 changed files with 5456 additions and 80 deletions

View file

@ -174,6 +174,14 @@
#define SDL_VIDEO_OPENGL_GLX 1
#endif
/* enable Vulkan surface support */
#if TARGET_CPU_X86_64
/* Metal/MoltenVK/Vulkan not supported on 32-bit architectures. */
#define SDL_VIDEO_VULKAN_SURFACE 1
#else
#define SDL_VIDEO_VULKAN_SURFACE 0
#endif
/* Enable system power support */
#define SDL_POWER_MACOSX 1