mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-29 20:27:12 +01:00
29f3445316
Vivante drivers use the VK_KHR_display extension for rendering directly to the frame buffer. This patch adds support to the video driver for Vulkan rendering using that method. - Add an utility function SDL_Vulkan_Display_CreateSurface that creates a surface using this extension. The display to use (if there are multiple) can be overridden using the environment variable "SDL_VULKAN_DISPLAY". - Use this function in a new compilation unit SDL_vivantevideo.c, which implements the SDL_VIDEO_VULKAN methods of the driver structure. |
||
---|---|---|
.. | ||
SDL_vivanteopengles.c | ||
SDL_vivanteopengles.h | ||
SDL_vivanteplatform.c | ||
SDL_vivanteplatform.h | ||
SDL_vivantevideo.c | ||
SDL_vivantevideo.h | ||
SDL_vivantevulkan.c | ||
SDL_vivantevulkan.h |