mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
vulkan: Initial Vulkan support!
This work was done by Jacob Lifshay and Mark Callow; I'm just merging it into revision control.
This commit is contained in:
parent
8e7998e19d
commit
25e3a1ec90
60 changed files with 5456 additions and 80 deletions
|
|
@ -140,6 +140,14 @@
|
|||
#define SDL_VIDEO_RENDER_OGL_ES 1
|
||||
#define SDL_VIDEO_RENDER_OGL_ES2 1
|
||||
|
||||
/* Enable Vulkan surface support */
|
||||
/* Android does not support Vulkan in native code using the "armeabi" ABI. */
|
||||
#if !defined(__ARM_EABI__) || defined(__ARM_ARCH_7A__)
|
||||
#define SDL_VIDEO_VULKAN_SURFACE 1
|
||||
#else
|
||||
#define SDL_VIDEO_VULKAN_SURFACE 0
|
||||
#endif
|
||||
|
||||
/* Enable system power support */
|
||||
#define SDL_POWER_ANDROID 1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue