[Commits] SDL: Added the new Vulkan API functions to exported functions

libsdl.org revision control commits-owner at libsdl.org
Sun Aug 27 20:41:35 PDT 2017


details:   https://hg.libsdl.org/SDL/rev/ec36cac7a0b0
changeset: 11368:ec36cac7a0b0
user:      Sam Lantinga <slouken at libsdl.org>
date:      Sun Aug 27 20:41:29 2017 -0700
description:
Added the new Vulkan API functions to exported functions

diffstat:

 src/dynapi/SDL_dynapi_overrides.h |  6 ++++++
 src/dynapi/SDL_dynapi_procs.h     |  6 ++++++
 2 files changed, 12 insertions(+), 0 deletions(-)

diffs (26 lines):

diff -r e8fc755a89e8 -r ec36cac7a0b0 src/dynapi/SDL_dynapi_overrides.h
--- a/src/dynapi/SDL_dynapi_overrides.h	Sun Aug 27 23:25:12 2017 -0400
+++ b/src/dynapi/SDL_dynapi_overrides.h	Sun Aug 27 20:41:29 2017 -0700
@@ -629,3 +629,9 @@
 #define SDL_wcscmp SDL_wcscmp_REAL
 #define SDL_ComposeCustomBlendMode SDL_ComposeCustomBlendMode_REAL
 #define SDL_DuplicateSurface SDL_DuplicateSurface_REAL
+#define SDL_Vulkan_LoadLibrary SDL_Vulkan_LoadLibrary_REAL
+#define SDL_Vulkan_GetVkGetInstanceProcAddr SDL_Vulkan_GetVkGetInstanceProcAddr_REAL
+#define SDL_Vulkan_UnloadLibrary SDL_Vulkan_UnloadLibrary_REAL
+#define SDL_Vulkan_GetInstanceExtensions SDL_Vulkan_GetInstanceExtensions_REAL
+#define SDL_Vulkan_CreateSurface SDL_Vulkan_CreateSurface_REAL
+#define SDL_Vulkan_GetDrawableSize SDL_Vulkan_GetDrawableSize_REAL
diff -r e8fc755a89e8 -r ec36cac7a0b0 src/dynapi/SDL_dynapi_procs.h
--- a/src/dynapi/SDL_dynapi_procs.h	Sun Aug 27 23:25:12 2017 -0400
+++ b/src/dynapi/SDL_dynapi_procs.h	Sun Aug 27 20:41:29 2017 -0700
@@ -663,3 +663,9 @@
 SDL_DYNAPI_PROC(int,SDL_wcscmp,(const wchar_t *a, const wchar_t *b),(a,b),return)
 SDL_DYNAPI_PROC(SDL_BlendMode,SDL_ComposeCustomBlendMode,(SDL_BlendFactor a, SDL_BlendFactor b, SDL_BlendOperation c, SDL_BlendFactor d, SDL_BlendFactor e, SDL_BlendOperation f),(a,b,c,d,e,f),return)
 SDL_DYNAPI_PROC(SDL_Surface*,SDL_DuplicateSurface,(SDL_Surface *a),(a),return)
+SDL_DYNAPI_PROC(int,SDL_Vulkan_LoadLibrary,(const char *a),(a),return)
+SDL_DYNAPI_PROC(void*,SDL_Vulkan_GetVkGetInstanceProcAddr,(void),(),return)
+SDL_DYNAPI_PROC(void,SDL_Vulkan_UnloadLibrary,(void),(),)
+SDL_DYNAPI_PROC(SDL_bool,SDL_Vulkan_GetInstanceExtensions,(SDL_Window *a, unsigned *b, const char **c),(a,b,c),return)
+SDL_DYNAPI_PROC(SDL_bool,SDL_Vulkan_CreateSurface,(SDL_Window *a, VkInstance b, VkSurfaceKHR *c),(a,b,c),return)
+SDL_DYNAPI_PROC(void,SDL_Vulkan_GetDrawableSize,(SDL_Window *a, int *b, int *c),(a,b,c),)


More information about the commits mailing list