Added SDL_AddVulkanRenderSemaphores() for external synchronization with SDL rendering

This commit is contained in:
Sam Lantinga 2024-03-02 10:03:37 -08:00
parent 504d8c2fc0
commit 48471f7dbd
7 changed files with 129 additions and 5 deletions

View file

@ -973,6 +973,7 @@ SDL3_0.0.0 {
SDL_GetCameraDevicePosition;
SDL_qsort_r;
SDL_bsearch_r;
SDL_AddVulkanRenderSemaphores;
# extra symbols go here (don't modify this line)
local: *;
};

View file

@ -998,3 +998,4 @@
#define SDL_GetCameraDevicePosition SDL_GetCameraDevicePosition_REAL
#define SDL_qsort_r SDL_qsort_r_REAL
#define SDL_bsearch_r SDL_bsearch_r_REAL
#define SDL_AddVulkanRenderSemaphores SDL_AddVulkanRenderSemaphores_REAL

View file

@ -1023,3 +1023,4 @@ SDL_DYNAPI_PROC(int,SDL_GetCameraPermissionState,(SDL_Camera *a),(a),return)
SDL_DYNAPI_PROC(SDL_CameraPosition,SDL_GetCameraDevicePosition,(SDL_CameraDeviceID a),(a),return)
SDL_DYNAPI_PROC(void,SDL_qsort_r,(void *a, size_t b, size_t c, int (SDLCALL *d)(void *, const void *, const void *), void *e),(a,b,c,d,e),)
SDL_DYNAPI_PROC(void*,SDL_bsearch_r,(const void *a, const void *b, size_t c, size_t d, int (SDLCALL *e)(void *, const void *, const void *), void *f),(a,b,c,d,e,f),return)
SDL_DYNAPI_PROC(int,SDL_AddVulkanRenderSemaphores,(SDL_Renderer *a, Uint32 b, Sint64 c, Sint64 d),(a,b,c,d),return)