From b356c650054ff6758738721c0823d2fa6026edfd Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Thu, 29 Aug 2024 17:02:43 -0700
Subject: [PATCH] Sort exported symbols
---
src/dynapi/SDL_dynapi.sym | 162 +++++++++++++++---------------
src/dynapi/SDL_dynapi_overrides.h | 162 +++++++++++++++---------------
src/dynapi/SDL_dynapi_procs.h | 162 +++++++++++++++---------------
3 files changed, 243 insertions(+), 243 deletions(-)
diff --git a/src/dynapi/SDL_dynapi.sym b/src/dynapi/SDL_dynapi.sym
index 1cab11add52fe..5f5c739039372 100644
--- a/src/dynapi/SDL_dynapi.sym
+++ b/src/dynapi/SDL_dynapi.sym
@@ -3,6 +3,8 @@ SDL3_0.0.0 {
JNI_OnLoad;
SDL_DYNAPI_entry;
SDL_AcquireCameraFrame;
+ SDL_AcquireGPUCommandBuffer;
+ SDL_AcquireGPUSwapchainTexture;
SDL_AddEventWatch;
SDL_AddGamepadMapping;
SDL_AddGamepadMappingsFromFile;
@@ -21,8 +23,24 @@ SDL3_0.0.0 {
SDL_AtomicSetPtr;
SDL_AttachVirtualJoystick;
SDL_AudioDevicePaused;
+ SDL_BeginGPUComputePass;
+ SDL_BeginGPUCopyPass;
+ SDL_BeginGPURenderPass;
SDL_BindAudioStream;
SDL_BindAudioStreams;
+ SDL_BindGPUComputePipeline;
+ SDL_BindGPUComputeStorageBuffers;
+ SDL_BindGPUComputeStorageTextures;
+ SDL_BindGPUFragmentSamplers;
+ SDL_BindGPUFragmentStorageBuffers;
+ SDL_BindGPUFragmentStorageTextures;
+ SDL_BindGPUGraphicsPipeline;
+ SDL_BindGPUIndexBuffer;
+ SDL_BindGPUVertexBuffers;
+ SDL_BindGPUVertexSamplers;
+ SDL_BindGPUVertexStorageBuffers;
+ SDL_BindGPUVertexStorageTextures;
+ SDL_BlitGPU;
SDL_BlitSurface9Grid;
SDL_BlitSurface;
SDL_BlitSurfaceScaled;
@@ -32,6 +50,7 @@ SDL3_0.0.0 {
SDL_BlitSurfaceUncheckedScaled;
SDL_BroadcastCondition;
SDL_CaptureMouse;
+ SDL_ClaimGPUWindow;
SDL_CleanupTLS;
SDL_ClearAudioStream;
SDL_ClearClipboardData;
@@ -55,6 +74,8 @@ SDL3_0.0.0 {
SDL_ConvertSurface;
SDL_ConvertSurfaceAndColorspace;
SDL_CopyFile;
+ SDL_CopyGPUBufferToBuffer;
+ SDL_CopyGPUTextureToTexture;
SDL_CopyProperties;
SDL_CopyStorageFile;
SDL_CreateAudioStream;
@@ -62,6 +83,15 @@ SDL3_0.0.0 {
SDL_CreateCondition;
SDL_CreateCursor;
SDL_CreateDirectory;
+ SDL_CreateGPUBuffer;
+ SDL_CreateGPUComputePipeline;
+ SDL_CreateGPUDevice;
+ SDL_CreateGPUDeviceWithProperties;
+ SDL_CreateGPUGraphicsPipeline;
+ SDL_CreateGPUSampler;
+ SDL_CreateGPUShader;
+ SDL_CreateGPUTexture;
+ SDL_CreateGPUTransferBuffer;
SDL_CreateHapticEffect;
SDL_CreateMutex;
SDL_CreatePalette;
@@ -94,6 +124,7 @@ SDL3_0.0.0 {
SDL_DestroyAudioStream;
SDL_DestroyCondition;
SDL_DestroyCursor;
+ SDL_DestroyGPUDevice;
SDL_DestroyHapticEffect;
SDL_DestroyMutex;
SDL_DestroyPalette;
@@ -108,6 +139,14 @@ SDL3_0.0.0 {
SDL_DetachThread;
SDL_DetachVirtualJoystick;
SDL_DisableScreenSaver;
+ SDL_DispatchGPUCompute;
+ SDL_DispatchGPUComputeIndirect;
+ SDL_DownloadFromGPUBuffer;
+ SDL_DownloadFromGPUTexture;
+ SDL_DrawGPUIndexedPrimitives;
+ SDL_DrawGPUIndexedPrimitivesIndirect;
+ SDL_DrawGPUPrimitives;
+ SDL_DrawGPUPrimitivesIndirect;
SDL_DuplicateSurface;
SDL_EGL_GetCurrentConfig;
SDL_EGL_GetCurrentDisplay;
@@ -115,6 +154,9 @@ SDL3_0.0.0 {
SDL_EGL_GetWindowSurface;
SDL_EGL_SetAttributeCallbacks;
SDL_EnableScreenSaver;
+ SDL_EndGPUComputePass;
+ SDL_EndGPUCopyPass;
+ SDL_EndGPURenderPass;
SDL_EnterAppMainCallbacks;
SDL_EnumerateDirectory;
SDL_EnumerateProperties;
@@ -129,7 +171,9 @@ SDL3_0.0.0 {
SDL_FlushEvent;
SDL_FlushEvents;
SDL_FlushRenderer;
+ SDL_GDKResumeGPU;
SDL_GDKSuspendComplete;
+ SDL_GDKSuspendGPU;
SDL_GL_CreateContext;
SDL_GL_DestroyContext;
SDL_GL_ExtensionSupported;
@@ -145,6 +189,7 @@ SDL3_0.0.0 {
SDL_GL_SetSwapInterval;
SDL_GL_SwapWindow;
SDL_GL_UnloadLibrary;
+ SDL_GPUTextureFormatTexelBlockSize;
SDL_GUIDToString;
SDL_GamepadConnected;
SDL_GamepadEventsEnabled;
@@ -152,6 +197,7 @@ SDL3_0.0.0 {
SDL_GamepadHasButton;
SDL_GamepadHasSensor;
SDL_GamepadSensorEnabled;
+ SDL_GenerateGPUMipmaps;
SDL_GetAndroidActivity;
SDL_GetAndroidCachePath;
SDL_GetAndroidExternalStoragePath;
@@ -229,6 +275,8 @@ SDL3_0.0.0 {
SDL_GetFullscreenDisplayModes;
SDL_GetGDKDefaultUser;
SDL_GetGDKTaskQueue;
+ SDL_GetGPUDriver;
+ SDL_GetGPUSwapchainTextureFormat;
SDL_GetGamepadAppleSFSymbolsNameForAxis;
SDL_GetGamepadAppleSFSymbolsNameForButton;
SDL_GetGamepadAxis;
@@ -528,6 +576,7 @@ SDL3_0.0.0 {
SDL_Init;
SDL_InitHapticRumble;
SDL_InitSubSystem;
+ SDL_InsertGPUDebugLabel;
SDL_IsAndroidTV;
SDL_IsChromebook;
SDL_IsDeXMode;
@@ -565,6 +614,7 @@ SDL3_0.0.0 {
SDL_LogMessageV;
SDL_LogVerbose;
SDL_LogWarn;
+ SDL_MapGPUTransferBuffer;
SDL_MapRGB;
SDL_MapRGBA;
SDL_MapSurfaceRGB;
@@ -606,11 +656,17 @@ SDL3_0.0.0 {
SDL_PeepEvents;
SDL_PlayHapticRumble;
SDL_PollEvent;
+ SDL_PopGPUDebugGroup;
SDL_PremultiplyAlpha;
SDL_PremultiplySurfaceAlpha;
SDL_PumpEvents;
SDL_PushEvent;
+ SDL_PushGPUComputeUniformData;
+ SDL_PushGPUDebugGroup;
+ SDL_PushGPUFragmentUniformData;
+ SDL_PushGPUVertexUniformData;
SDL_PutAudioStreamData;
+ SDL_QueryGPUFence;
SDL_Quit;
SDL_QuitSubSystem;
SDL_RaiseWindow;
@@ -635,6 +691,14 @@ SDL3_0.0.0 {
SDL_RegisterApp;
SDL_RegisterEvents;
SDL_ReleaseCameraFrame;
+ SDL_ReleaseGPUBuffer;
+ SDL_ReleaseGPUComputePipeline;
+ SDL_ReleaseGPUFence;
+ SDL_ReleaseGPUGraphicsPipeline;
+ SDL_ReleaseGPUSampler;
+ SDL_ReleaseGPUShader;
+ SDL_ReleaseGPUTexture;
+ SDL_ReleaseGPUTransferBuffer;
SDL_ReloadGamepadMappings;
SDL_RemovePath;
SDL_RemoveStoragePath;
@@ -711,6 +775,11 @@ SDL3_0.0.0 {
SDL_SetEventEnabled;
SDL_SetEventFilter;
SDL_SetFloatProperty;
+ SDL_SetGPUBufferName;
+ SDL_SetGPUScissor;
+ SDL_SetGPUSwapchainParameters;
+ SDL_SetGPUTextureName;
+ SDL_SetGPUViewport;
SDL_SetGamepadEventsEnabled;
SDL_SetGamepadLED;
SDL_SetGamepadMapping;
@@ -817,6 +886,12 @@ SDL3_0.0.0 {
SDL_StopTextInput;
SDL_StorageReady;
SDL_StringToGUID;
+ SDL_SubmitGPU;
+ SDL_SubmitGPUAndAcquireFence;
+ SDL_SupportsGPUPresentMode;
+ SDL_SupportsGPUSampleCount;
+ SDL_SupportsGPUSwapchainComposition;
+ SDL_SupportsGPUTextureFormat;
SDL_SurfaceHasAlternateImages;
SDL_SurfaceHasColorKey;
SDL_SurfaceHasRLE;
@@ -834,6 +909,7 @@ SDL3_0.0.0 {
SDL_UCS4ToUTF8;
SDL_UnbindAudioStream;
SDL_UnbindAudioStreams;
+ SDL_UnclaimGPUWindow;
SDL_UnloadObject;
SDL_UnlockAudioStream;
SDL_UnlockJoysticks;
@@ -843,6 +919,7 @@ SDL3_0.0.0 {
SDL_UnlockSpinlock;
SDL_UnlockSurface;
SDL_UnlockTexture;
+ SDL_UnmapGPUTransferBuffer;
SDL_UnregisterApp;
SDL_UpdateGamepads;
SDL_UpdateHapticEffect;
@@ -853,6 +930,8 @@ SDL3_0.0.0 {
SDL_UpdateWindowSurface;
SDL_UpdateWindowSurfaceRects;
SDL_UpdateYUVTexture;
+ SDL_UploadToGPUBuffer;
+ SDL_UploadToGPUTexture;
SDL_Vulkan_CreateSurface;
SDL_Vulkan_DestroySurface;
SDL_Vulkan_GetInstanceExtensions;
@@ -864,6 +943,8 @@ SDL3_0.0.0 {
SDL_WaitConditionTimeout;
SDL_WaitEvent;
SDL_WaitEventTimeout;
+ SDL_WaitGPU;
+ SDL_WaitGPUForFences;
SDL_WaitSemaphore;
SDL_WaitSemaphoreTimeout;
SDL_WaitThread;
@@ -1060,87 +1141,6 @@ SDL3_0.0.0 {
SDL_wcsnstr;
SDL_wcsstr;
SDL_wcstol;
- SDL_CreateGPUDevice;
- SDL_CreateGPUDeviceWithProperties;
- SDL_DestroyGPUDevice;
- SDL_GetGPUDriver;
- SDL_CreateGPUComputePipeline;
- SDL_CreateGPUGraphicsPipeline;
- SDL_CreateGPUSampler;
- SDL_CreateGPUShader;
- SDL_CreateGPUTexture;
- SDL_CreateGPUBuffer;
- SDL_CreateGPUTransferBuffer;
- SDL_SetGPUBufferName;
- SDL_SetGPUTextureName;
- SDL_InsertGPUDebugLabel;
- SDL_PushGPUDebugGroup;
- SDL_PopGPUDebugGroup;
- SDL_ReleaseGPUTexture;
- SDL_ReleaseGPUSampler;
- SDL_ReleaseGPUBuffer;
- SDL_ReleaseGPUTransferBuffer;
- SDL_ReleaseGPUComputePipeline;
- SDL_ReleaseGPUShader;
- SDL_ReleaseGPUGraphicsPipeline;
- SDL_BeginGPURenderPass;
- SDL_BindGPUGraphicsPipeline;
- SDL_SetGPUViewport;
- SDL_SetGPUScissor;
- SDL_BindGPUVertexBuffers;
- SDL_BindGPUIndexBuffer;
- SDL_BindGPUVertexSamplers;
- SDL_BindGPUVertexStorageTextures;
- SDL_BindGPUVertexStorageBuffers;
- SDL_BindGPUFragmentSamplers;
- SDL_BindGPUFragmentStorageTextures;
- SDL_BindGPUFragmentStorageBuffers;
- SDL_PushGPUVertexUniformData;
- SDL_PushGPUFragmentUniformData;
- SDL_DrawGPUIndexedPrimitives;
- SDL_DrawGPUPrimitives;
- SDL_DrawGPUPrimitivesIndirect;
- SDL_DrawGPUIndexedPrimitivesIndirect;
- SDL_EndGPURenderPass;
- SDL_BeginGPUComputePass;
- SDL_BindGPUComputePipeline;
- SDL_BindGPUComputeStorageTextures;
- SDL_BindGPUComputeStorageBuffers;
- SDL_PushGPUComputeUniformData;
- SDL_DispatchGPUCompute;
- SDL_DispatchGPUComputeIndirect;
- SDL_EndGPUComputePass;
- SDL_MapGPUTransferBuffer;
- SDL_UnmapGPUTransferBuffer;
- SDL_BeginGPUCopyPass;
- SDL_UploadToGPUTexture;
- SDL_UploadToGPUBuffer;
- SDL_CopyGPUTextureToTexture;
- SDL_CopyGPUBufferToBuffer;
- SDL_GenerateGPUMipmaps;
- SDL_DownloadFromGPUTexture;
- SDL_DownloadFromGPUBuffer;
- SDL_EndGPUCopyPass;
- SDL_BlitGPU;
- SDL_SupportsGPUSwapchainComposition;
- SDL_SupportsGPUPresentMode;
- SDL_ClaimGPUWindow;
- SDL_UnclaimGPUWindow;
- SDL_SetGPUSwapchainParameters;
- SDL_GetGPUSwapchainTextureFormat;
- SDL_AcquireGPUCommandBuffer;
- SDL_AcquireGPUSwapchainTexture;
- SDL_SubmitGPU;
- SDL_SubmitGPUAndAcquireFence;
- SDL_WaitGPU;
- SDL_WaitGPUForFences;
- SDL_QueryGPUFence;
- SDL_ReleaseGPUFence;
- SDL_GPUTextureFormatTexelBlockSize;
- SDL_SupportsGPUTextureFormat;
- SDL_SupportsGPUSampleCount;
- SDL_GDKSuspendGPU;
- SDL_GDKResumeGPU;
# extra symbols go here (don't modify this line)
local: *;
};
diff --git a/src/dynapi/SDL_dynapi_overrides.h b/src/dynapi/SDL_dynapi_overrides.h
index e6de327b5ade7..b31a0212d4b98 100644
--- a/src/dynapi/SDL_dynapi_overrides.h
+++ b/src/dynapi/SDL_dynapi_overrides.h
@@ -28,6 +28,8 @@
// New API symbols are added at the end
#define SDL_AcquireCameraFrame SDL_AcquireCameraFrame_REAL
+#define SDL_AcquireGPUCommandBuffer SDL_AcquireGPUCommandBuffer_REAL
+#define SDL_AcquireGPUSwapchainTexture SDL_AcquireGPUSwapchainTexture_REAL
#define SDL_AddEventWatch SDL_AddEventWatch_REAL
#define SDL_AddGamepadMapping SDL_AddGamepadMapping_REAL
#define SDL_AddGamepadMappingsFromFile SDL_AddGamepadMappingsFromFile_REAL
@@ -46,8 +48,24 @@
#define SDL_AtomicSetPtr SDL_AtomicSetPtr_REAL
#define SDL_AttachVirtualJoystick SDL_AttachVirtualJoystick_REAL
#define SDL_AudioDevicePaused SDL_AudioDevicePaused_REAL
+#define SDL_BeginGPUComputePass SDL_BeginGPUComputePass_REAL
+#define SDL_BeginGPUCopyPass SDL_BeginGPUCopyPass_REAL
+#define SDL_BeginGPURenderPass SDL_BeginGPURenderPass_REAL
#define SDL_BindAudioStream SDL_BindAudioStream_REAL
#define SDL_BindAudioStreams SDL_BindAudioStreams_REAL
+#define SDL_BindGPUComputePipeline SDL_BindGPUComputePipeline_REAL
+#define SDL_BindGPUComputeStorageBuffers SDL_BindGPUComputeStorageBuffers_REAL
+#define SDL_BindGPUComputeStorageTextures SDL_BindGPUComputeStorageTextures_REAL
+#define SDL_BindGPUFragmentSamplers SDL_BindGPUFragmentSamplers_REAL
+#define SDL_BindGPUFragmentStorageBuffers SDL_BindGPUFragmentStorageBuffers_REAL
+#define SDL_BindGPUFragmentStorageTextures SDL_BindGPUFragmentStorageTextures_REAL
+#define SDL_BindGPUGraphicsPipeline SDL_BindGPUGraphicsPipeline_REAL
+#define SDL_BindGPUIndexBuffer SDL_BindGPUIndexBuffer_REAL
+#define SDL_BindGPUVertexBuffers SDL_BindGPUVertexBuffers_REAL
+#define SDL_BindGPUVertexSamplers SDL_BindGPUVertexSamplers_REAL
+#define SDL_BindGPUVertexStorageBuffers SDL_BindGPUVertexStorageBuffers_REAL
+#define SDL_BindGPUVertexStorageTextures SDL_BindGPUVertexStorageTextures_REAL
+#define SDL_BlitGPU SDL_BlitGPU_REAL
#define SDL_BlitSurface SDL_BlitSurface_REAL
#define SDL_BlitSurface9Grid SDL_BlitSurface9Grid_REAL
#define SDL_BlitSurfaceScaled SDL_BlitSurfaceScaled_REAL
@@ -57,6 +75,7 @@
#define SDL_BlitSurfaceUncheckedScaled SDL_BlitSurfaceUncheckedScaled_REAL
#define SDL_BroadcastCondition SDL_BroadcastCondition_REAL
#define SDL_CaptureMouse SDL_CaptureMouse_REAL
+#define SDL_ClaimGPUWindow SDL_ClaimGPUWindow_REAL
#define SDL_CleanupTLS SDL_CleanupTLS_REAL
#define SDL_ClearAudioStream SDL_ClearAudioStream_REAL
#define SDL_ClearClipboardData SDL_ClearClipboardData_REAL
@@ -80,6 +99,8 @@
#define SDL_ConvertSurface SDL_ConvertSurface_REAL
#define SDL_ConvertSurfaceAndColorspace SDL_ConvertSurfaceAndColorspace_REAL
#define SDL_CopyFile SDL_CopyFile_REAL
+#define SDL_CopyGPUBufferToBuffer SDL_CopyGPUBufferToBuffer_REAL
+#define SDL_CopyGPUTextureToTexture SDL_CopyGPUTextureToTexture_REAL
#define SDL_CopyProperties SDL_CopyProperties_REAL
#define SDL_CopyStorageFile SDL_CopyStorageFile_REAL
#define SDL_CreateAudioStream SDL_CreateAudioStream_REAL
@@ -87,6 +108,15 @@
#define SDL_CreateCondition SDL_CreateCondition_REAL
#define SDL_CreateCursor SDL_CreateCursor_REAL
#define SDL_CreateDirectory SDL_CreateDirectory_REAL
+#define SDL_CreateGPUBuffer SDL_CreateGPUBuffer_REAL
+#define SDL_CreateGPUComputePipeline SDL_CreateGPUComputePipeline_REAL
+#define SDL_CreateGPUDevice SDL_CreateGPUDevice_REAL
+#define SDL_CreateGPUDeviceWithProperties SDL_CreateGPUDeviceWithProperties_REAL
+#define SDL_CreateGPUGraphicsPipeline SDL_CreateGPUGraphicsPipeline_REAL
+#define SDL_CreateGPUSampler SDL_CreateGPUSampler_REAL
+#define SDL_CreateGPUShader SDL_CreateGPUShader_REAL
+#define SDL_CreateGPUTexture SDL_CreateGPUTexture_REAL
+#define SDL_CreateGPUTransferBuffer SDL_CreateGPUTransferBuffer_REAL
#define SDL_CreateHapticEffect SDL_CreateHapticEffect_REAL
#define SDL_CreateMutex SDL_CreateMutex_REAL
#define SDL_CreatePalette SDL_CreatePalette_REAL
@@ -119,6 +149,7 @@
#define SDL_DestroyAudioStream SDL_DestroyAudioStream_REAL
#define SDL_DestroyCondition SDL_DestroyCondition_REAL
#define SDL_DestroyCursor SDL_DestroyCursor_REAL
+#define SDL_DestroyGPUDevice SDL_DestroyGPUDevice_REAL
#define SDL_DestroyHapticEffect SDL_DestroyHapticEffect_REAL
#define SDL_DestroyMutex SDL_DestroyMutex_REAL
#define SDL_DestroyPalette SDL_DestroyPalette_REAL
@@ -133,6 +164,14 @@
#define SDL_DetachThread SDL_DetachThread_REAL
#define SDL_DetachVirtualJoystick SDL_DetachVirtualJoystick_REAL
#define SDL_DisableScreenSaver SDL_DisableScreenSaver_REAL
+#define SDL_DispatchGPUCompute SDL_DispatchGPUCompute_REAL
+#define SDL_DispatchGPUComputeIndirect SDL_DispatchGPUComputeIndirect_REAL
+#define SDL_DownloadFromGPUBuffer SDL_DownloadFromGPUBuffer_REAL
+#define SDL_DownloadFromGPUTexture SDL_DownloadFromGPUTexture_REAL
+#define SDL_DrawGPUIndexedPrimitives SDL_DrawGPUIndexedPrimitives_REAL
+#define SDL_DrawGPUIndexedPrimitivesIndirect SDL_DrawGPUIndexedPrimitivesIndirect_REAL
+#define SDL_DrawGPUPrimitives SDL_DrawGPUPrimitives_REAL
+#define SDL_DrawGPUPrimitivesIndirect SDL_DrawGPUPrimitivesIndirect_REAL
#define SDL_DuplicateSurface SDL_DuplicateSurface_REAL
#define SDL_EGL_GetCurrentConfig SDL_EGL_GetCurrentConfig_REAL
#define SDL_EGL_GetCurrentDisplay SDL_EGL_GetCurrentDisplay_REAL
@@ -140,6 +179,9 @@
#define SDL_EGL_GetWindowSurface SDL_EGL_GetWindowSurface_REAL
#define SDL_EGL_SetAttributeCallbacks SDL_EGL_SetAttributeCallbacks_REAL
#define SDL_EnableScreenSaver SDL_EnableScreenSaver_REAL
+#define SDL_EndGPUComputePass SDL_EndGPUComputePass_REAL
+#define SDL_EndGPUCopyPass SDL_EndGPUCopyPass_REAL
+#define SDL_EndGPURenderPass SDL_EndGPURenderPass_REAL
#define SDL_EnterAppMainCallbacks SDL_EnterAppMainCallbacks_REAL
#define SDL_EnumerateDirectory SDL_EnumerateDirectory_REAL
#define SDL_EnumerateProperties SDL_EnumerateProperties_REAL
@@ -154,7 +196,9 @@
#define SDL_FlushEvent SDL_FlushEvent_REAL
#define SDL_FlushEvents SDL_FlushEvents_REAL
#define SDL_FlushRenderer SDL_FlushRenderer_REAL
+#define SDL_GDKResumeGPU SDL_GDKResumeGPU_REAL
#define SDL_GDKSuspendComplete SDL_GDKSuspendComplete_REAL
+#define SDL_GDKSuspendGPU SDL_GDKSuspendGPU_REAL
#define SDL_GL_CreateContext SDL_GL_CreateContext_REAL
#define SDL_GL_DestroyContext SDL_GL_DestroyContext_REAL
#define SDL_GL_ExtensionSupported SDL_GL_ExtensionSupported_REAL
@@ -170,6 +214,7 @@
#define SDL_GL_SetSwapInterval SDL_GL_SetSwapInterval_REAL
#define SDL_GL_SwapWindow SDL_GL_SwapWindow_REAL
#define SDL_GL_UnloadLibrary SDL_GL_UnloadLibrary_REAL
+#define SDL_GPUTextureFormatTexelBlockSize SDL_GPUTextureFormatTexelBlockSize_REAL
#define SDL_GUIDToString SDL_GUIDToString_REAL
#define SDL_GamepadConnected SDL_GamepadConnected_REAL
#define SDL_GamepadEventsEnabled SDL_GamepadEventsEnabled_REAL
@@ -177,6 +222,7 @@
#define SDL_GamepadHasButton SDL_GamepadHasButton_REAL
#define SDL_GamepadHasSensor SDL_GamepadHasSensor_REAL
#define SDL_GamepadSensorEnabled SDL_GamepadSensorEnabled_REAL
+#define SDL_GenerateGPUMipmaps SDL_GenerateGPUMipmaps_REAL
#define SDL_GetAndroidActivity SDL_GetAndroidActivity_REAL
#define SDL_GetAndroidCachePath SDL_GetAndroidCachePath_REAL
#define SDL_GetAndroidExternalStoragePath SDL_GetAndroidExternalStoragePath_REAL
@@ -254,6 +300,8 @@
#define SDL_GetFullscreenDisplayModes SDL_GetFullscreenDisplayModes_REAL
#define SDL_GetGDKDefaultUser SDL_GetGDKDefaultUser_REAL
#define SDL_GetGDKTaskQueue SDL_GetGDKTaskQueue_REAL
+#define SDL_GetGPUDriver SDL_GetGPUDriver_REAL
+#define SDL_GetGPUSwapchainTextureFormat SDL_GetGPUSwapchainTextureFormat_REAL
#define SDL_GetGamepadAppleSFSymbolsNameForAxis SDL_GetGamepadAppleSFSymbolsNameForAxis_REAL
#define SDL_GetGamepadAppleSFSymbolsNameForButton SDL_GetGamepadAppleSFSymbolsNameForButton_REAL
#define SDL_GetGamepadAxis SDL_GetGamepadAxis_REAL
@@ -553,6 +601,7 @@
#define SDL_Init SDL_Init_REAL
#define SDL_InitHapticRumble SDL_InitHapticRumble_REAL
#define SDL_InitSubSystem SDL_InitSubSystem_REAL
+#define SDL_InsertGPUDebugLabel SDL_InsertGPUDebugLabel_REAL
#define SDL_IsAndroidTV SDL_IsAndroidTV_REAL
#define SDL_IsChromebook SDL_IsChromebook_REAL
#define SDL_IsDeXMode SDL_IsDeXMode_REAL
@@ -590,6 +639,7 @@
#define SDL_LogMessageV SDL_LogMessageV_REAL
#define SDL_LogVerbose SDL_LogVerbose_REAL
#define SDL_LogWarn SDL_LogWarn_REAL
+#define SDL_MapGPUTransferBuffer SDL_MapGPUTransferBuffer_REAL
#define SDL_MapRGB SDL_MapRGB_REAL
#define SDL_MapRGBA SDL_MapRGBA_REAL
#define SDL_MapSurfaceRGB SDL_MapSurfaceRGB_REAL
@@ -631,11 +681,17 @@
#define SDL_PeepEvents SDL_PeepEvents_REAL
#define SDL_PlayHapticRumble SDL_PlayHapticRumble_REAL
#define SDL_PollEvent SDL_PollEvent_REAL
+#define SDL_PopGPUDebugGroup SDL_PopGPUDebugGroup_REAL
#define SDL_PremultiplyAlpha SDL_PremultiplyAlpha_REAL
#define SDL_PremultiplySurfaceAlpha SDL_PremultiplySurfaceAlpha_REAL
#define SDL_PumpEvents SDL_PumpEvents_REAL
#define SDL_PushEvent SDL_PushEvent_REAL
+#define SDL_PushGPUComputeUniformData SDL_PushGPUComputeUniformData_REAL
+#define SDL_PushGPUDebugGroup SDL_PushGPUDebugGroup_REAL
+#define SDL_PushGPUFragmentUniformData SDL_PushGPUFragmentUniformData_REAL
+#define SDL_PushGPUVertexUniformData SDL_PushGPUVertexUniformData_REAL
#define SDL_PutAudioStreamData SDL_PutAudioStreamData_REAL
+#define SDL_QueryGPUFence SDL_QueryGPUFence_REAL
#define SDL_Quit SDL_Quit_REAL
#define SDL_QuitSubSystem SDL_QuitSubSystem_REAL
#define SDL_RaiseWindow SDL_RaiseWindow_REAL
@@ -660,6 +716,14 @@
#define SDL_RegisterApp SDL_RegisterApp_REAL
#define SDL_RegisterEvents SDL_RegisterEvents_REAL
#define SDL_ReleaseCameraFrame SDL_ReleaseCameraFrame_REAL
+#define SDL_ReleaseGPUBuffer SDL_ReleaseGPUBuffer_REAL
+#define SDL_ReleaseGPUComputePipeline SDL_ReleaseGPUComputePipeline_REAL
+#define SDL_ReleaseGPUFence SDL_ReleaseGPUFence_REAL
+#define SDL_ReleaseGPUGraphicsPipeline SDL_ReleaseGPUGraphicsPipeline_REAL
+#define SDL_ReleaseGPUSampler SDL_ReleaseGPUSampler_REAL
+#define SDL_ReleaseGPUShader SDL_ReleaseGPUShader_REAL
+#define SDL_ReleaseGPUTexture SDL_ReleaseGPUTexture_REAL
+#define SDL_ReleaseGPUTransferBuffer SDL_ReleaseGPUTransferBuffer_REAL
#define SDL_ReloadGamepadMappings SDL_ReloadGamepadMappings_REAL
#define SDL_RemovePath SDL_RemovePath_REAL
#define SDL_RemoveStoragePath SDL_RemoveStoragePath_REAL
@@ -736,6 +800,11 @@
#define SDL_SetEventEnabled SDL_SetEventEnabled_REAL
#define SDL_SetEventFilter SDL_SetEventFilter_REAL
#define SDL_SetFloatProperty SDL_SetFloatProperty_REAL
+#define SDL_SetGPUBufferName SDL_SetGPUBufferName_REAL
+#define SDL_SetGPUScissor SDL_SetGPUScissor_REAL
+#define SDL_SetGPUSwapchainParameters SDL_SetGPUSwapchainParameters_REAL
+#define SDL_SetGPUTextureName SDL_SetGPUTextureName_REAL
+#define SDL_SetGPUViewport SDL_SetGPUViewport_REAL
#define SDL_SetGamepadEventsEnabled SDL_SetGamepadEventsEnabled_REAL
#define SDL_SetGamepadLED SDL_SetGamepadLED_REAL
#define SDL_SetGamepadMapping SDL_SetGamepadMapping_REAL
@@ -842,6 +911,12 @@
#define SDL_StopTextInput SDL_StopTextInput_REAL
#define SDL_StorageReady SDL_StorageReady_REAL
#define SDL_StringToGUID SDL_StringToGUID_REAL
+#define SDL_SubmitGPU SDL_SubmitGPU_REAL
+#define SDL_SubmitGPUAndAcquireFence SDL_SubmitGPUAndAcquireFence_REAL
+#define SDL_SupportsGPUPresentMode SDL_SupportsGPUPresentMode_REAL
+#define SDL_SupportsGPUSampleCount SDL_SupportsGPUSampleCount_REAL
+#define SDL_SupportsGPUSwapchainComposition SDL_SupportsGPUSwapchainComposition_REAL
+#define SDL_SupportsGPUTextureFormat SDL_SupportsGPUTextureFormat_REAL
#define SDL_SurfaceHasAlternateImages SDL_SurfaceHasAlternateImages_REAL
#define SDL_SurfaceHasColorKey SDL_SurfaceHasColorKey_REAL
#define SDL_SurfaceHasRLE SDL_SurfaceHasRLE_REAL
@@ -859,6 +934,7 @@
#define SDL_UCS4ToUTF8 SDL_UCS4ToUTF8_REAL
#define SDL_UnbindAudioStream SDL_UnbindAudioStream_REAL
#define SDL_UnbindAudioStreams SDL_UnbindAudioStreams_REAL
+#define SDL_UnclaimGPUWindow SDL_UnclaimGPUWindow_REAL
#define SDL_UnloadObject SDL_UnloadObject_REAL
#define SDL_UnlockAudioStream SDL_UnlockAudioStream_REAL
#define SDL_UnlockJoysticks SDL_UnlockJoysticks_REAL
@@ -868,6 +944,7 @@
#define SDL_UnlockSpinlock SDL_UnlockSpinlock_REAL
#define SDL_UnlockSurface SDL_UnlockSurface_REAL
#define SDL_UnlockTexture SDL_UnlockTexture_REAL
+#define SDL_UnmapGPUTransferBuffer SDL_UnmapGPUTransferBuffer_REAL
#define SDL_UnregisterApp SDL_UnregisterApp_REAL
#define SDL_UpdateGamepads SDL_UpdateGamepads_REAL
#define SDL_UpdateHapticEffect SDL_UpdateHapticEffect_REAL
@@ -878,6 +955,8 @@
#define SDL_UpdateWindowSurface SDL_UpdateWindowSurface_REAL
#define SDL_UpdateWindowSurfaceRects SDL_UpdateWindowSurfaceRects_REAL
#define SDL_UpdateYUVTexture SDL_UpdateYUVTexture_REAL
+#define SDL_UploadToGPUBuffer SDL_UploadToGPUBuffer_REAL
+#define SDL_UploadToGPUTexture SDL_UploadToGPUTexture_REAL
#define SDL_Vulkan_CreateSurface SDL_Vulkan_CreateSurface_REAL
#define SDL_Vulkan_DestroySurface SDL_Vulkan_DestroySurface_REAL
#define SDL_Vulkan_GetInstanceExtensions SDL_Vulkan_GetInstanceExtensions_REAL
@@ -889,6 +968,8 @@
#define SDL_WaitConditionTimeout SDL_WaitConditionTimeout_REAL
#define SDL_WaitEvent SDL_WaitEvent_REAL
#define SDL_WaitEventTimeout SDL_WaitEventTimeout_REAL
+#define SDL_WaitGPU SDL_WaitGPU_REAL
+#define SDL_WaitGPUForFences SDL_WaitGPUForFences_REAL
#define SDL_WaitSemaphore SDL_WaitSemaphore_REAL
#define SDL_WaitSemaphoreTimeout SDL_WaitSemaphoreTimeout_REAL
#define SDL_WaitThread SDL_WaitThread_REAL
@@ -1085,84 +1166,3 @@
#define SDL_wcsnstr SDL_wcsnstr_REAL
#define SDL_wcsstr SDL_wcsstr_REAL
#define SDL_wcstol SDL_wcstol_REAL
-#define SDL_CreateGPUDevice SDL_CreateGPUDevice_REAL
-#define SDL_CreateGPUDeviceWithProperties SDL_CreateGPUDeviceWithProperties_REAL
-#define SDL_DestroyGPUDevice SDL_DestroyGPUDevice_REAL
-#define SDL_GetGPUDriver SDL_GetGPUDriver_REAL
-#define SDL_CreateGPUComputePipeline SDL_CreateGPUComputePipeline_REAL
-#define SDL_CreateGPUGraphicsPipeline SDL_CreateGPUGraphicsPipeline_REAL
-#define SDL_CreateGPUSampler SDL_CreateGPUSampler_REAL
-#define SDL_CreateGPUShader SDL_CreateGPUShader_REAL
-#define SDL_CreateGPUTexture SDL_CreateGPUTexture_REAL
-#define SDL_CreateGPUBuffer SDL_CreateGPUBuffer_REAL
-#define SDL_CreateGPUTransferBuffer SDL_CreateGPUTransferBuffer_REAL
-#define SDL_SetGPUBufferName SDL_SetGPUBufferName_REAL
-#define SDL_SetGPUTextureName SDL_SetGPUTextureName_REAL
-#define SDL_InsertGPUDebugLabel SDL_InsertGPUDebugLabel_REAL
-#define SDL_PushGPUDebugGroup SDL_PushGPUDebugGroup_REAL
-#define SDL_PopGPUDebugGroup SDL_PopGPUDebugGroup_REAL
-#define SDL_ReleaseGPUTexture SDL_ReleaseGPUTexture_REAL
-#define SDL_ReleaseGPUSampler SDL_ReleaseGPUSampler_REAL
-#define SDL_ReleaseGPUBuffer SDL_ReleaseGPUBuffer_REAL
-#define SDL_ReleaseGPUTransferBuffer SDL_ReleaseGPUTransferBuffer_REAL
-#define SDL_ReleaseGPUComputePipeline SDL_ReleaseGPUComputePipeline_REAL
-#define SDL_ReleaseGPUShader SDL_ReleaseGPUShader_REAL
-#define SDL_ReleaseGPUGraphicsPipeline SDL_ReleaseGPUGraphicsPipeline_REAL
-#define SDL_BeginGPURenderPass SDL_BeginGPURenderPass_REAL
-#define SDL_BindGPUGraphicsPipeline SDL_BindGPUGraphicsPipeline_REAL
-#define SDL_SetGPUViewport SDL_SetGPUViewport_REAL
-#define SDL_SetGPUScissor SDL_SetGPUScissor_REAL
-#define SDL_BindGPUVertexBuffers SDL_BindGPUVertexBuffers_REAL
-#define SDL_BindGPUIndexBuffer SDL_BindGPUIndexBuffer_REAL
-#define SDL_BindGPUVertexSamplers SDL_BindGPUVertexSamplers_REAL
-#define SDL_BindGPUVertexStorageTextures SDL_BindGPUVertexStorageTextures_REAL
-#define SDL_BindGPUVertexStorageBuffers SDL_BindGPUVertexStorageBuffers_REAL
-#define SDL_BindGPUFragmentSamplers SDL_BindGPUFragmentSamplers_REAL
-#define SDL_BindGPUFragmentStorageTextures SDL_BindGPUFragmentStorageTextures_REAL
-#define SDL_BindGPUFragmentStorageBuffers SDL_BindGPUFragmentStorageBuffers_REAL
-#define SDL_PushGPUVertexUniformData SDL_PushGPUVertexUniformData_REAL
-#define SDL_PushGPUFragmentUniformData SDL_PushGPUFragmentUniformData_REAL
-#define SDL_DrawGPUIndexedPrimitives SDL_DrawGPUIndexedPrimitives_REAL
-#define SDL_DrawGPUPrimitives SDL_DrawGPUPrimitives_REAL
-#define SDL_DrawGPUPrimitivesIndirect SDL_DrawGPUPrimitivesIndirect_REAL
-#define SDL_DrawGPUIndexedPrimitivesIndirect SDL_DrawGPUIndexedPrimitivesIndirect_REAL
-#define SDL_EndGPURenderPass SDL_EndGPURenderPass_REAL
-#define SDL_BeginGPUComputePass SDL_BeginGPUComputePass_REAL
-#define SDL_BindGPUComputePipeline SDL_BindGPUComputePipeline_REAL
-#define SDL_BindGPUComputeStorageTextures SDL_BindGPUComputeStorageTextures_REAL
-#define SDL_BindGPUComputeStorageBuffers SDL_BindGPUComputeStorageBuffers_REAL
-#define SDL_PushGPUComputeUniformData SDL_PushGPUComputeUniformData_REAL
-#define SDL_DispatchGPUCompute SDL_DispatchGPUCompute_REAL
-#define SDL_DispatchGPUComputeIndirect SDL_DispatchGPUComputeIndirect_REAL
-#define SDL_EndGPUComputePass SDL_EndGPUComputePass_REAL
-#define SDL_MapGPUTransferBuffer SDL_MapGPUTransferBuffer_REAL
-#define SDL_UnmapGPUTransferBuffer SDL_UnmapGPUTransferBuffer_REAL
-#define SDL_BeginGPUCopyPass SDL_BeginGPUCopyPass_REAL
-#define SDL_UploadToGPUTexture SDL_UploadToGPUTexture_REAL
-#define SDL_UploadToGPUBuffer SDL_UploadToGPUBuffer_REAL
-#define SDL_CopyGPUTextureToTexture SDL_CopyGPUTextureToTexture_REAL
-#define SDL_CopyGPUBufferToBuffer SDL_CopyGPUBufferToBuffer_REAL
-#define SDL_GenerateGPUMipmaps SDL_GenerateGPUMipmaps_REAL
-#define SDL_DownloadFromGPUTexture SDL_DownloadFromGPUTexture_REAL
-#define SDL_DownloadFromGPUBuffer SDL_DownloadFromGPUBuffer_REAL
-#define SDL_EndGPUCopyPass SDL_EndGPUCopyPass_REAL
-#define SDL_BlitGPU SDL_BlitGPU_REAL
-#define SDL_SupportsGPUSwapchainComposition SDL_SupportsGPUSwapchainComposition_REAL
-#define SDL_SupportsGPUPresentMode SDL_SupportsGPUPresentMode_REAL
-#define SDL_ClaimGPUWindow SDL_ClaimGPUWindow_REAL
-#define SDL_UnclaimGPUWindow SDL_UnclaimGPUWindow_REAL
-#define SDL_SetGPUSwapchainParameters SDL_SetGPUSwapchainParameters_REAL
-#define SDL_GetGPUSwapchainTextureFormat SDL_GetGPUSwapchainTextureFormat_REAL
-#define SDL_AcquireGPUCommandBuffer SDL_AcquireGPUCommandBuffer_REAL
-#define SDL_AcquireGPUSwapchainTexture SDL_AcquireGPUSwapchainTexture_REAL
-#define SDL_SubmitGPU SDL_SubmitGPU_REAL
-#define SDL_SubmitGPUAndAcquireFence SDL_SubmitGPUAndAcquireFence_REAL
-#define SDL_WaitGPU SDL_WaitGPU_REAL
-#define SDL_WaitGPUForFences SDL_WaitGPUForFences_REAL
-#define SDL_QueryGPUFence SDL_QueryGPUFence_REAL
-#define SDL_ReleaseGPUFence SDL_ReleaseGPUFence_REAL
-#define SDL_GPUTextureFormatTexelBlockSize SDL_GPUTextureFormatTexelBlockSize_REAL
-#define SDL_SupportsGPUTextureFormat SDL_SupportsGPUTextureFormat_REAL
-#define SDL_SupportsGPUSampleCount SDL_SupportsGPUSampleCount_REAL
-#define SDL_GDKSuspendGPU SDL_GDKSuspendGPU_REAL
-#define SDL_GDKResumeGPU SDL_GDKResumeGPU_REAL
diff --git a/src/dynapi/SDL_dynapi_procs.h b/src/dynapi/SDL_dynapi_procs.h
index d1573cdc37c6d..e0bddc346ac31 100644
--- a/src/dynapi/SDL_dynapi_procs.h
+++ b/src/dynapi/SDL_dynapi_procs.h
@@ -48,6 +48,8 @@ SDL_DYNAPI_PROC(int,SDL_swprintf,(SDL_OUT_Z_CAP(b) wchar_t *a, size_t b, SDL_PRI
// New API symbols are added at the end
SDL_DYNAPI_PROC(SDL_Surface*,SDL_AcquireCameraFrame,(SDL_Camera *a, Uint64 *b),(a,b),return)
+SDL_DYNAPI_PROC(SDL_GPUCommandBuffer*,SDL_AcquireGPUCommandBuffer,(SDL_GPUDevice *a),(a),return)
+SDL_DYNAPI_PROC(SDL_GPUTexture*,SDL_AcquireGPUSwapchainTexture,(SDL_GPUCommandBuffer *a, SDL_Window *b, Uint32 *c, Uint32 *d),(a,b,c,d),return)
SDL_DYNAPI_PROC(SDL_bool,SDL_AddEventWatch,(SDL_EventFilter a, void *b),(a,b),return)
SDL_DYNAPI_PROC(int,SDL_AddGamepadMapping,(const char *a),(a),return)
SDL_DYNAPI_PROC(int,SDL_AddGamepadMappingsFromFile,(const char *a),(a),return)
@@ -66,8 +68,24 @@ SDL_DYNAPI_PROC(int,SDL_AtomicSet,(SDL_AtomicInt *a, int b),(a,b),return)
SDL_DYNAPI_PROC(void*,SDL_AtomicSetPtr,(void **a, void *b),(a,b),return)
SDL_DYNAPI_PROC(SDL_JoystickID,SDL_AttachVirtualJoystick,(const SDL_VirtualJoystickDesc *a),(a),return)
SDL_DYNAPI_PROC(SDL_bool,SDL_AudioDevicePaused,(SDL_AudioDeviceID a),(a),return)
+SDL_DYNAPI_PROC(SDL_GPUComputePass*,SDL_BeginGPUComputePass,(SDL_GPUCommandBuffer *a, SDL_GPUStorageTextureWriteOnlyBinding *b, Uint32 c, SDL_GPUStorageBufferWriteOnlyBinding *d, Uint32 e),(a,b,c,d,e),return)
+SDL_DYNAPI_PROC(SDL_GPUCopyPass*,SDL_BeginGPUCopyPass,(SDL_GPUCommandBuffer *a),(a),return)
+SDL_DYNAPI_PROC(SDL_GPURenderPass*,SDL_BeginGPURenderPass,(SDL_GPUCommandBuffer *a, SDL_GPUColorAttachmentInfo *b, Uint32 c, SDL_GPUDepthStencilAttachmentInfo *d),(a,b,c,d),return)
SDL_DYNAPI_PROC(SDL_bool,SDL_BindAudioStream,(SDL_AudioDeviceID a, SDL_AudioStream *b),(a,b),return)
SDL_DYNAPI_PROC(SDL_bool,SDL_BindAudioStreams,(SDL_AudioDeviceID a, SDL_AudioStream **b, int c),(a,b,c),return)
+SDL_DYNAPI_PROC(void,SDL_BindGPUComputePipeline,(SDL_GPUComputePass *a, SDL_GPUComputePipeline *b),(a,b),)
+SDL_DYNAPI_PROC(void,SDL_BindGPUComputeStorageBuffers,(SDL_GPUComputePass *a, Uint32 b, SDL_GPUBuffer **c, Uint32 d),(a,b,c,d),)
+SDL_DYNAPI_PROC(void,SDL_BindGPUComputeStorageTextures,(SDL_GPUComputePass *a, Uint32 b, SDL_GPUTexture **c, Uint32 d),(a,b,c,d),)
+SDL_DYNAPI_PROC(void,SDL_BindGPUFragmentSamplers,(SDL_GPURenderPass *a, Uint32 b, SDL_GPUTextureSamplerBinding *c, Uint32 d),(a,b,c,d),)
+SDL_DYNAPI_PROC(void,SDL
(Patch may be truncated, please check the link at the top of this post.)