| | |
| | | /* |
| | | 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 |
| | |
| | | #include "SDL_vivantevideo.h" |
| | | #include "SDL_vivanteplatform.h" |
| | | #include "SDL_vivanteopengles.h" |
| | | #include "SDL_vivantevulkan.h" |
| | | |
| | | |
| | | static int |
| | |
| | | device->GL_DeleteContext = VIVANTE_GLES_DeleteContext; |
| | | #endif |
| | | |
| | | #if SDL_VIDEO_VULKAN |
| | | device->Vulkan_LoadLibrary = VIVANTE_Vulkan_LoadLibrary; |
| | | device->Vulkan_UnloadLibrary = VIVANTE_Vulkan_UnloadLibrary; |
| | | device->Vulkan_GetInstanceExtensions = VIVANTE_Vulkan_GetInstanceExtensions; |
| | | device->Vulkan_CreateSurface = VIVANTE_Vulkan_CreateSurface; |
| | | #endif |
| | | |
| | | device->PumpEvents = VIVANTE_PumpEvents; |
| | | |
| | | return device; |