SDL: Sort the initial SDL 3.0 symbols

From 61232de1ab457fae370c9cff2f79b3002b219e4c Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Wed, 28 Dec 2022 14:29:46 -0800
Subject: [PATCH] Sort the initial SDL 3.0 symbols

---
 src/dynapi/SDL_dynapi.sym         | 1524 ++++++++++++++--------------
 src/dynapi/SDL_dynapi_overrides.h | 1526 +++++++++++++++--------------
 src/dynapi/SDL_dynapi_procs.h     | 1415 +++++++++++++-------------
 3 files changed, 2235 insertions(+), 2230 deletions(-)

diff --git a/src/dynapi/SDL_dynapi.sym b/src/dynapi/SDL_dynapi.sym
index 3c062579f43c..64c73fdedf0f 100644
--- a/src/dynapi/SDL_dynapi.sym
+++ b/src/dynapi/SDL_dynapi.sym
@@ -1,37 +1,11 @@
 SDL3_0.0.0 {
   global:
-    SDL_Log;
-    SDL_LogCritical;
-    SDL_LogDebug;
-    SDL_LogError;
-    SDL_LogInfo;
-    SDL_LogMessage;
-    SDL_LogVerbose;
-    SDL_LogWarn;
-    SDL_SetError;
-    SDL_asprintf;
-    SDL_snprintf;
-    SDL_sscanf;
-    SDL_CreateThread;
-    SDL_CreateThreadWithStackSize;
-    SDL_RegisterApp;
-    SDL_RenderGetD3D12Device;
-    SDL_SetWindowsMessageHook;
-    SDL_UnregisterApp;
-    SDL_DXGIGetOutputInfo;
-    SDL_Direct3D9GetAdapterIndex;
-    SDL_RenderGetD3D11Device;
-    SDL_RenderGetD3D9Device;
-    SDL_GDKGetTaskQueue;
-    SDL_GDKSuspendComplete;
-    SDL_WinRTGetDeviceFamily;
-    SDL_WinRTGetFSPathUNICODE;
-    SDL_WinRTGetFSPathUTF8;
-    SDL_LinuxSetThreadPriority;
-    SDL_LinuxSetThreadPriorityAndPolicy;
-    SDL_OnApplicationDidChangeStatusBarOrientation;
-    SDL_iPhoneSetAnimationCallback;
-    SDL_iPhoneSetEventPump;
+    SDL_AddEventWatch;
+    SDL_AddGamepadMapping;
+    SDL_AddGamepadMappingsFromRW;
+    SDL_AddHintCallback;
+    SDL_AddTimer;
+    SDL_AllocRW;
     SDL_AndroidBackButton;
     SDL_AndroidGetActivity;
     SDL_AndroidGetExternalStoragePath;
@@ -41,820 +15,846 @@ SDL3_0.0.0 {
     SDL_AndroidRequestPermission;
     SDL_AndroidSendMessage;
     SDL_AndroidShowToast;
-    SDL_GetAndroidSDKVersion;
-    SDL_IsAndroidTV;
-    SDL_IsChromebook;
-    SDL_IsDeXMode;
-    SDL_ReportAssertion;
-    SDL_SetAssertionHandler;
-    SDL_GetDefaultAssertionHandler;
-    SDL_GetAssertionHandler;
-    SDL_GetAssertionReport;
-    SDL_ResetAssertionReport;
-    SDL_AtomicTryLock;
-    SDL_AtomicLock;
-    SDL_AtomicUnlock;
-    SDL_MemoryBarrierReleaseFunction;
-    SDL_MemoryBarrierAcquireFunction;
-    SDL_AtomicCAS;
-    SDL_AtomicSet;
-    SDL_AtomicGet;
     SDL_AtomicAdd;
+    SDL_AtomicCAS;
     SDL_AtomicCASPtr;
-    SDL_AtomicSetPtr;
+    SDL_AtomicGet;
     SDL_AtomicGetPtr;
-    SDL_GetNumAudioDrivers;
-    SDL_GetAudioDriver;
-    SDL_GetCurrentAudioDriver;
-    SDL_OpenAudio;
-    SDL_GetNumAudioDevices;
-    SDL_GetAudioDeviceName;
-    SDL_GetAudioDeviceSpec;
-    SDL_GetDefaultAudioInfo;
-    SDL_OpenAudioDevice;
-    SDL_GetAudioStatus;
-    SDL_GetAudioDeviceStatus;
-    SDL_PauseAudio;
-    SDL_PauseAudioDevice;
-    SDL_LoadWAV_RW;
+    SDL_AtomicLock;
+    SDL_AtomicSet;
+    SDL_AtomicSetPtr;
+    SDL_AtomicTryLock;
+    SDL_AtomicUnlock;
+    SDL_AttachVirtualJoystick;
+    SDL_AttachVirtualJoystickEx;
+    SDL_BlitSurface;
+    SDL_BlitSurfaceScaled;
+    SDL_BlitSurfaceUnchecked;
+    SDL_BlitSurfaceUncheckedScaled;
     SDL_BuildAudioCVT;
-    SDL_ConvertAudio;
-    SDL_CreateAudioStream;
-    SDL_PutAudioStreamData;
-    SDL_GetAudioStreamData;
-    SDL_GetAudioStreamAvailable;
-    SDL_FlushAudioStream;
+    SDL_CaptureMouse;
     SDL_ClearAudioStream;
-    SDL_DestroyAudioStream;
-    SDL_MixAudio;
-    SDL_MixAudioFormat;
-    SDL_QueueAudio;
-    SDL_DequeueAudio;
-    SDL_GetQueuedAudioSize;
+    SDL_ClearComposition;
+    SDL_ClearError;
+    SDL_ClearHints;
     SDL_ClearQueuedAudio;
-    SDL_LockAudio;
-    SDL_LockAudioDevice;
-    SDL_UnlockAudio;
-    SDL_UnlockAudioDevice;
     SDL_CloseAudio;
     SDL_CloseAudioDevice;
+    SDL_CloseGamepad;
+    SDL_CloseJoystick;
+    SDL_CloseSensor;
     SDL_ComposeCustomBlendMode;
-    SDL_SetClipboardText;
-    SDL_GetClipboardText;
-    SDL_HasClipboardText;
-    SDL_SetPrimarySelectionText;
-    SDL_GetPrimarySelectionText;
-    SDL_HasPrimarySelectionText;
-    SDL_GetCPUCount;
-    SDL_GetCPUCacheLineSize;
-    SDL_HasRDTSC;
-    SDL_HasAltiVec;
-    SDL_HasMMX;
-    SDL_HasSSE;
-    SDL_HasSSE2;
-    SDL_HasSSE3;
-    SDL_HasSSE41;
-    SDL_HasSSE42;
-    SDL_HasAVX;
-    SDL_HasAVX2;
-    SDL_HasAVX512F;
-    SDL_HasARMSIMD;
-    SDL_HasNEON;
-    SDL_HasLSX;
-    SDL_HasLASX;
-    SDL_GetSystemRAM;
-    SDL_SIMDGetAlignment;
-    SDL_SIMDAlloc;
-    SDL_SIMDRealloc;
-    SDL_SIMDFree;
-    SDL_GetError;
-    SDL_GetErrorMsg;
-    SDL_ClearError;
+    SDL_CondBroadcast;
+    SDL_CondSignal;
+    SDL_CondWait;
+    SDL_CondWaitTimeout;
+    SDL_ConvertAudio;
+    SDL_ConvertPixels;
+    SDL_ConvertSurface;
+    SDL_ConvertSurfaceFormat;
+    SDL_CreateAudioStream;
+    SDL_CreateColorCursor;
+    SDL_CreateCond;
+    SDL_CreateCursor;
+    SDL_CreateMutex;
+    SDL_CreatePalette;
+    SDL_CreatePixelFormat;
+    SDL_CreateRenderer;
+    SDL_CreateSemaphore;
+    SDL_CreateShapedWindow;
+    SDL_CreateSoftwareRenderer;
+    SDL_CreateSurface;
+    SDL_CreateSurfaceFrom;
+    SDL_CreateSystemCursor;
+    SDL_CreateTexture;
+    SDL_CreateTextureFromSurface;
+    SDL_CreateThread;
+    SDL_CreateThreadWithStackSize;
+    SDL_CreateWindow;
+    SDL_CreateWindowAndRenderer;
+    SDL_CreateWindowFrom;
+    SDL_DXGIGetOutputInfo;
+    SDL_DelEventWatch;
+    SDL_DelHintCallback;
+    SDL_Delay;
+    SDL_DelayNS;
+    SDL_DequeueAudio;
+    SDL_DestroyAudioStream;
+    SDL_DestroyCond;
+    SDL_DestroyMutex;
+    SDL_DestroyPalette;
+    SDL_DestroyPixelFormat;
+    SDL_DestroyRenderer;
+    SDL_DestroySemaphore;
+    SDL_DestroySurface;
+    SDL_DestroyTexture;
+    SDL_DestroyWindow;
+    SDL_DetachThread;
+    SDL_DetachVirtualJoystick;
+    SDL_Direct3D9GetAdapterIndex;
+    SDL_DisableScreenSaver;
+    SDL_DuplicateSurface;
+    SDL_EGL_GetCurrentEGLConfig;
+    SDL_EGL_GetCurrentEGLDisplay;
+    SDL_EGL_GetProcAddress;
+    SDL_EGL_GetWindowEGLSurface;
+    SDL_EGL_SetEGLAttributeCallbacks;
+    SDL_EnableScreenSaver;
     SDL_Error;
-    SDL_PumpEvents;
-    SDL_PeepEvents;
-    SDL_HasEvent;
-    SDL_HasEvents;
+    SDL_EventState;
+    SDL_FillSurfaceRect;
+    SDL_FillSurfaceRects;
+    SDL_FilterEvents;
+    SDL_FlashWindow;
+    SDL_FlushAudioStream;
     SDL_FlushEvent;
     SDL_FlushEvents;
-    SDL_PollEvent;
-    SDL_WaitEvent;
-    SDL_WaitEventTimeout;
-    SDL_PushEvent;
-    SDL_SetEventFilter;
-    SDL_GetEventFilter;
-    SDL_AddEventWatch;
-    SDL_DelEventWatch;
-    SDL_FilterEvents;
-    SDL_EventState;
-    SDL_GetEventState;
-    SDL_RegisterEvents;
+    SDL_FreeCursor;
+    SDL_FreeRW;
+    SDL_GDKGetTaskQueue;
+    SDL_GDKSuspendComplete;
+    SDL_GL_BindTexture;
+    SDL_GL_CreateContext;
+    SDL_GL_DeleteContext;
+    SDL_GL_ExtensionSupported;
+    SDL_GL_GetAttribute;
+    SDL_GL_GetCurrentContext;
+    SDL_GL_GetCurrentWindow;
+    SDL_GL_GetDrawableSize;
+    SDL_GL_GetProcAddress;
+    SDL_GL_GetSwapInterval;
+    SDL_GL_LoadLibrary;
+    SDL_GL_MakeCurrent;
+    SDL_GL_ResetAttributes;
+    SDL_GL_SetAttribute;
+    SDL_GL_SetSwapInterval;
+    SDL_GL_SwapWindow;
+    SDL_GL_UnbindTexture;
+    SDL_GL_UnloadLibrary;
+    SDL_GUIDFromString;
+    SDL_GUIDToString;
+    SDL_GamepadHasAxis;
+    SDL_GamepadHasButton;
+    SDL_GamepadHasLED;
+    SDL_GamepadHasRumble;
+    SDL_GamepadHasRumbleTriggers;
+    SDL_GamepadHasSensor;
+    SDL_GetAndroidSDKVersion;
+    SDL_GetAssertionHandler;
+    SDL_GetAssertionReport;
+    SDL_GetAudioDeviceName;
+    SDL_GetAudioDeviceSpec;
+    SDL_GetAudioDeviceStatus;
+    SDL_GetAudioDriver;
+    SDL_GetAudioStatus;
+    SDL_GetAudioStreamAvailable;
+    SDL_GetAudioStreamData;
     SDL_GetBasePath;
-    SDL_GetPrefPath;
-    SDL_AddGamepadMapping;
-    SDL_AddGamepadMappingsFromRW;
-    SDL_GetNumGamepadMappings;
-    SDL_GetGamepadMappingForIndex;
-    SDL_GetGamepadMappingForGUID;
-    SDL_GetGamepadMapping;
-    SDL_HasGamepads;
-    SDL_GetGamepads;
-    SDL_IsGamepad;
+    SDL_GetCPUCacheLineSize;
+    SDL_GetCPUCount;
+    SDL_GetClipboardText;
+    SDL_GetClosestDisplayMode;
+    SDL_GetCurrentAudioDriver;
+    SDL_GetCurrentDisplayMode;
+    SDL_GetCurrentVideoDriver;
+    SDL_GetCursor;
+    SDL_GetDefaultAssertionHandler;
+    SDL_GetDefaultAudioInfo;
+    SDL_GetDefaultCursor;
+    SDL_GetDesktopDisplayMode;
+    SDL_GetDisplayBounds;
+    SDL_GetDisplayDPI;
+    SDL_GetDisplayIndexForPoint;
+    SDL_GetDisplayIndexForRect;
+    SDL_GetDisplayMode;
+    SDL_GetDisplayName;
+    SDL_GetDisplayOrientation;
+    SDL_GetDisplayUsableBounds;
+    SDL_GetError;
+    SDL_GetErrorMsg;
+    SDL_GetEventFilter;
+    SDL_GetEventState;
+    SDL_GetGamepadAppleSFSymbolsNameForAxis;
+    SDL_GetGamepadAppleSFSymbolsNameForButton;
+    SDL_GetGamepadAxis;
+    SDL_GetGamepadAxisFromString;
+    SDL_GetGamepadBindForAxis;
+    SDL_GetGamepadBindForButton;
+    SDL_GetGamepadButton;
+    SDL_GetGamepadButtonFromString;
+    SDL_GetGamepadEventState;
+    SDL_GetGamepadFirmwareVersion;
+    SDL_GetGamepadFromInstanceID;
+    SDL_GetGamepadFromPlayerIndex;
+    SDL_GetGamepadInstanceGUID;
+    SDL_GetGamepadInstanceMapping;
     SDL_GetGamepadInstanceName;
     SDL_GetGamepadInstancePath;
     SDL_GetGamepadInstancePlayerIndex;
-    SDL_GetGamepadInstanceGUID;
-    SDL_GetGamepadInstanceVendor;
     SDL_GetGamepadInstanceProduct;
     SDL_GetGamepadInstanceProductVersion;
     SDL_GetGamepadInstanceType;
-    SDL_GetGamepadInstanceMapping;
-    SDL_OpenGamepad;
-    SDL_GetGamepadFromInstanceID;
-    SDL_GetGamepadFromPlayerIndex;
+    SDL_GetGamepadInstanceVendor;
+    SDL_GetGamepadJoystick;
+    SDL_GetGamepadMapping;
+    SDL_GetGamepadMappingForGUID;
+    SDL_GetGamepadMappingForIndex;
     SDL_GetGamepadName;
+    SDL_GetGamepadNumTouchpadFingers;
+    SDL_GetGamepadNumTouchpads;
     SDL_GetGamepadPath;
-    SDL_GetGamepadType;
     SDL_GetGamepadPlayerIndex;
-    SDL_SetGamepadPlayerIndex;
-    SDL_GetGamepadVendor;
     SDL_GetGamepadProduct;
     SDL_GetGamepadProductVersion;
-    SDL_GetGamepadFirmwareVersion;
+    SDL_GetGamepadSensorData;
+    SDL_GetGamepadSensorDataRate;
     SDL_GetGamepadSerial;
-    SDL_IsGamepadConnected;
-    SDL_GetGamepadJoystick;
-    SDL_GetGamepadEventState;
-    SDL_UpdateGamepads;
-    SDL_GetGamepadAxisFromString;
     SDL_GetGamepadStringForAxis;
-    SDL_GetGamepadBindForAxis;
-    SDL_GamepadHasAxis;
-    SDL_GetGamepadAxis;
-    SDL_GetGamepadButtonFromString;
     SDL_GetGamepadStringForButton;
-    SDL_GetGamepadBindForButton;
-    SDL_GamepadHasButton;
-    SDL_GetGamepadButton;
-    SDL_GetGamepadNumTouchpads;
-    SDL_GetGamepadNumTouchpadFingers;
     SDL_GetGamepadTouchpadFinger;
-    SDL_GamepadHasSensor;
-    SDL_SetGamepadSensorEnabled;
-    SDL_IsGamepadSensorEnabled;
-    SDL_GetGamepadSensorDataRate;
-    SDL_GetGamepadSensorData;
-    SDL_RumbleGamepad;
-    SDL_RumbleGamepadTriggers;
-    SDL_GamepadHasLED;
-    SDL_GamepadHasRumble;
-    SDL_GamepadHasRumbleTriggers;
-    SDL_SetGamepadLED;
-    SDL_SendGamepadEffect;
-    SDL_CloseGamepad;
-    SDL_GetGamepadAppleSFSymbolsNameForButton;
-    SDL_GetGamepadAppleSFSymbolsNameForAxis;
-    SDL_GUIDToString;
-    SDL_GUIDFromString;
-    SDL_NumHaptics;
-    SDL_HapticName;
-    SDL_HapticOpen;
-    SDL_HapticOpened;
-    SDL_HapticIndex;
-    SDL_MouseIsHaptic;
-    SDL_HapticOpenFromMouse;
-    SDL_JoystickIsHaptic;
-    SDL_HapticOpenFromJoystick;
-    SDL_HapticClose;
-    SDL_HapticNumEffects;
-    SDL_HapticNumEffectsPlaying;
-    SDL_HapticQuery;
-    SDL_HapticNumAxes;
-    SDL_HapticEffectSupported;
-    SDL_HapticNewEffect;
-    SDL_HapticUpdateEffect;
-    SDL_HapticRunEffect;
-    SDL_HapticStopEffect;
-    SDL_HapticDestroyEffect;
-    SDL_HapticGetEffectStatus;
-    SDL_HapticSetGain;
-    SDL_HapticSetAutocenter;
-    SDL_HapticPause;
-    SDL_HapticUnpause;
-    SDL_HapticStopAll;
-    SDL_HapticRumbleSupported;
-    SDL_HapticRumbleInit;
-    SDL_HapticRumblePlay;
-    SDL_HapticRumbleStop;
-    SDL_hid_init;
-    SDL_hid_exit;
-    SDL_hid_device_change_count;
-    SDL_hid_enumerate;
-    SDL_hid_free_enumeration;
-    SDL_hid_open;
-    SDL_hid_open_path;
-    SDL_hid_write;
-    SDL_hid_read_timeout;
-    SDL_hid_read;
-    SDL_hid_set_nonblocking;
-    SDL_hid_send_feature_report;
-    SDL_hid_get_feature_report;
-    SDL_hid_close;
-    SDL_hid_get_manufacturer_string;
-    SDL_hid_get_product_string;
-    SDL_hid_get_serial_number_string;
-    SDL_hid_get_indexed_string;
-    SDL_hid_ble_scan;
-    SDL_SetHintWithPriority;
-    SDL_SetHint;
-    SDL_ResetHint;
-    SDL_ResetHints;
+    SDL_GetGamepadType;
+    SDL_GetGamepadVendor;
+    SDL_GetGamepads;
+    SDL_GetGlobalMouseState;
+    SDL_GetGrabbedWindow;
     SDL_GetHint;
     SDL_GetHintBoolean;
-    SDL_AddHintCallback;
-    SDL_DelHintCallback;
-    SDL_ClearHints;
-    SDL_Init;
-    SDL_InitSubSystem;
-    SDL_QuitSubSystem;
-    SDL_WasInit;
-    SDL_Quit;
-    SDL_LockJoysticks;
-    SDL_UnlockJoysticks;
-    SDL_HasJoysticks;
-    SDL_GetJoysticks;
+    SDL_GetJoystickAxis;
+    SDL_GetJoystickAxisInitialState;
+    SDL_GetJoystickButton;
+    SDL_GetJoystickEventState;
+    SDL_GetJoystickFirmwareVersion;
+    SDL_GetJoystickFromInstanceID;
+    SDL_GetJoystickFromPlayerIndex;
+    SDL_GetJoystickGUID;
+    SDL_GetJoystickGUIDFromString;
+    SDL_GetJoystickGUIDInfo;
+    SDL_GetJoystickGUIDString;
+    SDL_GetJoystickHat;
+    SDL_GetJoystickInstanceGUID;
+    SDL_GetJoystickInstanceID;
     SDL_GetJoystickInstanceName;
     SDL_GetJoystickInstancePath;
     SDL_GetJoystickInstancePlayerIndex;
-    SDL_GetJoystickInstanceGUID;
-    SDL_GetJoystickInstanceVendor;
     SDL_GetJoystickInstanceProduct;
     SDL_GetJoystickInstanceProductVersion;
     SDL_GetJoystickInstanceType;
-    SDL_OpenJoystick;
-    SDL_GetJoystickFromInstanceID;
-    SDL_GetJoystickFromPlayerIndex;
-    SDL_AttachVirtualJoystick;
-    SDL_AttachVirtualJoystickEx;
-    SDL_DetachVirtualJoystick;
-    SDL_IsJoystickVirtual;
-    SDL_SetJoystickVirtualAxis;
-    SDL_SetJoystickVirtualButton;
-    SDL_SetJoystickVirtualHat;
+    SDL_GetJoystickInstanceVendor;
     SDL_GetJoystickName;
     SDL_GetJoystickPath;
     SDL_GetJoystickPlayerIndex;
-    SDL_SetJoystickPlayerIndex;
-    SDL_GetJoystickGUID;
-    SDL_GetJoystickVendor;
+    SDL_GetJoystickPowerLevel;
     SDL_GetJoystickProduct;
     SDL_GetJoystickProductVersion;
-    SDL_GetJoystickFirmwareVersion;
     SDL_GetJoystickSerial;
     SDL_GetJoystickType;
-    SDL_GetJoystickGUIDString;
-    SDL_GetJoystickGUIDFromString;
-    SDL_GetJoystickGUIDInfo;
-    SDL_IsJoystickConnected;
-    SDL_GetJoystickInstanceID;
-    SDL_GetNumJoystickAxes;
-    SDL_GetNumJoystickHats;
-    SDL_GetNumJoystickButtons;
-    SDL_UpdateJoysticks;
-    SDL_GetJoystickEventState;
-    SDL_GetJoystickAxis;
-    SDL_GetJoystickAxisInitialState;
-    SDL_GetJoystickHat;
-    SDL_GetJoystickButton;
-    SDL_RumbleJoystick;
-    SDL_RumbleJoystickTriggers;
-    SDL_JoystickHasLED;
-    SDL_JoystickHasRumble;
-    SDL_JoystickHasRumbleTriggers;
-    SDL_SetJoystickLED;
-    SDL_SendJoystickEffect;
-    SDL_CloseJoystick;
-    SDL_GetJoystickPowerLevel;
+    SDL_GetJoystickVendor;
+    SDL_GetJoysticks;
+    SDL_GetKeyFromName;
+    SDL_GetKeyFromScancode;
+    SDL_GetKeyName;
     SDL_GetKeyboardFocus;
     SDL_GetKeyboardState;
-    SDL_ResetKeyboard;
+    SDL_GetMasksForPixelFormatEnum;
+    SDL_GetMemoryFunctions;
     SDL_GetModState;
-    SDL_SetModState;
-    SDL_GetKeyFromScancode;
-    SDL_GetScancodeFromKey;
-    SDL_GetScancodeName;
-    SDL_GetScancodeFromName;
-    SDL_GetKeyName;
-    SDL_GetKeyFromName;
-    SDL_StartTextInput;
-    SDL_IsTextInputActive;
-    SDL_StopTextInput;
-    SDL_ClearComposition;
-    SDL_IsTextInputShown;
-    SDL_SetTextInputRect;
-    SDL_HasScreenKeyboardSupport;
-    SDL_IsScreenKeyboardShown;
-    SDL_LoadObject;
-    SDL_LoadFunction;
-    SDL_UnloadObject;
-    SDL_GetPreferredLocales;
-    SDL_LogSetAllPriority;
-    SDL_LogSetPriority;
-    SDL_LogGetPriority;
-    SDL_LogResetPriorities;
-    SDL_LogMessageV;
-    SDL_LogGetOutputFunction;
-    SDL_LogSetOutputFunction;
-    SDL_SetMainReady;
-    SDL_RunApp;
-    SDL_ShowMessageBox;
-    SDL_ShowSimpleMessageBox;
-    SDL_Metal_CreateView;
-    SDL_Metal_DestroyView;
-    SDL_Metal_GetLayer;
-    SDL_Metal_GetDrawableSize;
-    SDL_OpenURL;
     SDL_GetMouseFocus;
     SDL_GetMouseState;
-    SDL_GetGlobalMouseState;
-    SDL_GetRelativeMouseState;
-    SDL_WarpMouseInWindow;
-    SDL_WarpMouseGlobal;
-    SDL_SetRelativeMouseMode;
-    SDL_CaptureMouse;
-    SDL_GetRelativeMouseMode;
-    SDL_CreateCursor;
-    SDL_CreateColorCursor;
-    SDL_CreateSystemCursor;
-    SDL_SetCursor;
-    SDL_GetCursor;
-    SDL_GetDefaultCursor;
-    SDL_FreeCursor;
-    SDL_ShowCursor;
-    SDL_CreateMutex;
-    SDL_LockMutex;
-    SDL_TryLockMutex;
-    SDL_UnlockMutex;
-    SDL_DestroyMutex;
-    SDL_CreateSemaphore;
-    SDL_DestroySemaphore;
-    SDL_SemWait;
-    SDL_SemTryWait;
-    SDL_SemWaitTimeout;
-    SDL_SemPost;
-    SDL_SemValue;
-    SDL_CreateCond;
-    SDL_DestroyCond;
-    SDL_CondSignal;
-    SDL_CondBroadcast;
-    SDL_CondWait;
-    SDL_CondWaitTimeout;
-    SDL_GetPixelFormatName;
-    SDL_GetMasksForPixelFormatEnum;
+    SDL_GetNumAllocations;
+    SDL_GetNumAudioDevices;
+    SDL_GetNumAudioDrivers;
+    SDL_GetNumDisplayModes;
+    SDL_GetNumGamepadMappings;
+    SDL_GetNumJoystickAxes;
+    SDL_GetNumJoystickButtons;
+    SDL_GetNumJoystickHats;
+    SDL_GetNumRenderDrivers;
+    SDL_GetNumTouchDevices;
+    SDL_GetNumTouchFingers;
+    SDL_GetNumVideoDisplays;
+    SDL_GetNumVideoDrivers;
+    SDL_GetOriginalMemoryFunctions;
+    SDL_GetPerformanceCounter;
+    SDL_GetPerformanceFrequency;
     SDL_GetPixelFormatEnumForMasks;
-    SDL_CreatePixelFormat;
-    SDL_DestroyPixelFormat;
-    SDL_CreatePalette;
-    SDL_SetPixelFormatPalette;
-    SDL_SetPaletteColors;
-    SDL_DestroyPalette;
-    SDL_MapRGB;
-    SDL_MapRGBA;
-    SDL_GetRGB;
-    SDL_GetRGBA;
+    SDL_GetPixelFormatName;
     SDL_GetPlatform;
     SDL_GetPowerInfo;
-    SDL_HasRectIntersection;
-    SDL_GetRectIntersection;
-    SDL_GetRectUnion;
-    SDL_GetRectEnclosingPoints;
+    SDL_GetPrefPath;
+    SDL_GetPreferredLocales;
+    SDL_GetPrimarySelectionText;
+    SDL_GetQueuedAudioSize;
+    SDL_GetRGB;
+    SDL_GetRGBA;
     SDL_GetRectAndLineIntersection;
-    SDL_HasRectIntersectionF;
+    SDL_GetRectAndLineIntersectionF;
+    SDL_GetRectEnclosingPoints;
+    SDL_GetRectEnclosingPointsF;
+    SDL_GetRectIntersection;
     SDL_GetRectIntersectionF;
+    SDL_GetRectUnion;
     SDL_GetRectUnionF;
-    SDL_GetRectEnclosingPointsF;
-    SDL_GetRectAndLineIntersectionF;
-    SDL_GetNumRenderDrivers;
+    SDL_GetRelativeMouseMode;
+    SDL_GetRelativeMouseState;
+    SDL_GetRenderClipRect;
+    SDL_GetRenderDrawBlendMode;
+    SDL_GetRenderDrawColor;
     SDL_GetRenderDriver;
-    SDL_CreateWindowAndRenderer;
-    SDL_CreateRenderer;
-    SDL_CreateSoftwareRenderer;
-    SDL_GetRenderer;
+    SDL_GetRenderIntegerScale;
+    SDL_GetRenderLogicalSize;
+    SDL_GetRenderMetalCommandEncoder;
+    SDL_GetRenderMetalLayer;
+    SDL_GetRenderScale;
+    SDL_GetRenderTarget;
+    SDL_GetRenderViewport;
     SDL_GetRenderWindow;
+    SDL_GetRenderer;
     SDL_GetRendererInfo;
     SDL_GetRendererOutputSize;
-    SDL_CreateTexture;
-    SDL_CreateTextureFromSurface;
-    SDL_QueryTexture;
-    SDL_SetTextureColorMod;
-    SDL_GetTextureColorMod;
-    SDL_SetTextureAlphaMod;
-    SDL_GetTextureAlphaMod;
-    SDL_SetTextureBlendMode;
-    SDL_GetTextureBlendMode;
-    SDL_SetTextureScaleMode;
-    SDL_GetTextureScaleMode;
-    SDL_SetTextureUserData;
-    SDL_GetTextureUserData;
-    SDL_UpdateTexture;
-    SDL_UpdateYUVTexture;
-    SDL_UpdateNVTexture;
-    SDL_LockTexture;
-    SDL_LockTextureToSurface;
-    SDL_UnlockTexture;
-    SDL_IsRenderTargetSupported;
-    SDL_SetRenderTarget;
-    SDL_GetRenderTarget;
-    SDL_SetRenderLogicalSize;
-    SDL_GetRenderLogicalSize;
-    SDL_SetRenderIntegerScale;
-    SDL_GetRenderIntegerScale;
-    SDL_SetRenderViewport;
-    SDL_GetRenderViewport;
-    SDL_SetRenderClipRect;
-    SDL_GetRenderClipRect;
-    SDL_IsRenderClipEnabled;
-    SDL_SetRenderScale;
-    SDL_GetRenderScale;
-    SDL_RenderWindowToLogical;
-    SDL_RenderLogicalToWindow;
-    SDL_SetRenderDrawColor;
-    SDL_GetRenderDrawColor;
-    SDL_SetRenderDrawBlendMode;
-    SDL_GetRenderDrawBlendMode;
-    SDL_RenderClear;
-    SDL_RenderPoint;
-    SDL_RenderPoints;
-    SDL_RenderLine;
-    SDL_RenderLines;
-    SDL_RenderRect;
-    SDL_RenderRects;
-    SDL_RenderFillRect;
-    SDL_RenderFillRects;
-    SDL_RenderTexture;
-    SDL_RenderTextureRotated;
-    SDL_RenderPointF;
-    SDL_RenderPointsF;
-    SDL_RenderLineF;
-    SDL_RenderLinesF;
-    SDL_RenderRectF;
-    SDL_RenderRectsF;
-    SDL_RenderFillRectF;
-    SDL_RenderFillRectsF;
-    SDL_RenderTextureF;
-    SDL_RenderTextureRotatedF;
-    SDL_RenderGeometry;
-    SDL_RenderGeometryRaw;
-    SDL_RenderReadPixels;
-    SDL_RenderPresent;
-    SDL_DestroyTexture;
-    SDL_DestroyRenderer;
-    SDL_RenderFlush;
-    SDL_GL_BindTexture;
-    SDL_GL_UnbindTexture;
-    SDL_GetRenderMetalLayer;
-    SDL_GetRenderMetalCommandEncoder;
-    SDL_SetRenderVSync;
-    SDL_RWFromFile;
-    SDL_RWFromMem;
-    SDL_RWFromConstMem;
-    SDL_AllocRW;
-    SDL_FreeRW;
-    SDL_RWsize;
-    SDL_RWseek;
-    SDL_RWtell;
-    SDL_RWread;
-    SDL_RWwrite;
-    SDL_RWclose;
-    SDL_LoadFile_RW;
-    SDL_LoadFile;
-    SDL_ReadU8;
-    SDL_ReadLE16;
-    SDL_ReadBE16;
-    SDL_ReadLE32;
-    SDL_ReadBE32;
-    SDL_ReadLE64;
-    SDL_ReadBE64;
-    SDL_WriteU8;
-    SDL_WriteLE16;
-    SDL_WriteBE16;
-    SDL_WriteLE32;
-    SDL_WriteBE32;
-    SDL_WriteLE64;
-    SDL_WriteBE64;
-    SDL_HasSensors;
-    SDL_GetSensors;
+    SDL_GetRevision;
+    SDL_GetScancodeFromKey;
+    SDL_GetScancodeFromName;
+    SDL_GetScancodeName;
+    SDL_GetSensorData;
+    SDL_GetSensorFromInstanceID;
+    SDL_GetSensorInstanceID;
     SDL_GetSensorInstanceName;
-    SDL_GetSensorInstanceType;
     SDL_GetSensorInstanceNonPortableType;
-    SDL_OpenSensor;
-    SDL_GetSensorFromInstanceID;
+    SDL_GetSensorInstanceType;
     SDL_GetSensorName;
-    SDL_GetSensorType;
     SDL_GetSensorNonPortableType;
-    SDL_GetSensorInstanceID;
-    SDL_GetSensorData;
-    SDL_CloseSensor;
-    SDL_UpdateSensors;
-    SDL_CreateShapedWindow;
-    SDL_IsShapedWindow;
-    SDL_SetWindowShape;
+    SDL_GetSensorType;
+    SDL_GetSensors;
     SDL_GetShapedWindowMode;
-    SDL_malloc;
-    SDL_calloc;
-    SDL_realloc;
-    SDL_free;
-    SDL_GetOriginalMemoryFunctions;
-    SDL_GetMemoryFunctions;
-    SDL_SetMemoryFunctions;
-    SDL_GetNumAllocations;
-    SDL_getenv;
-    SDL_setenv;
-    SDL_qsort;
-    SDL_bsearch;
-    SDL_abs;
-    SDL_isalpha;
-    SDL_isalnum;
-    SDL_isblank;
-    SDL_iscntrl;
-    SDL_isdigit;
-    SDL_isxdigit;
-    SDL_ispunct;
-    SDL_isspace;
-    SDL_isupper;
-    SDL_islower;
-    SDL_isprint;
-    SDL_isgraph;
-    SDL_toupper;
-    SDL_tolower;
-    SDL_crc16;
-    SDL_crc32;
-    SDL_memset;
-    SDL_memset4;
-    SDL_memcpy;
-    SDL_memmove;
-    SDL_memcmp;
-    SDL_wcslen;
-    SDL_wcslcpy;
-    SDL_wcslcat;
-    SDL_wcsdup;
-    SDL_wcsstr;
-    SDL_wcscmp;
-    SDL_wcsncmp;
-    SDL_wcscasecmp;
-    SDL_wcsncasecmp;
-    SDL_strlen;
-    SDL_strlcpy;
-    SDL_utf8strlcpy;
-    SDL_strlcat;
-    SDL_strdup;
-    SDL_strrev;
-    SDL_strupr;
-    SDL_strlwr;
-    SDL_strchr;
-    SDL_strrchr;
-    SDL_strstr;
-    SDL_strcasestr;
-    SDL_strtokr;
-    SDL_utf8strlen;
-    SDL_utf8strnlen;
-    SDL_itoa;
-    SDL_uitoa;
-    SDL_ltoa;
-    SDL_ultoa;
-    SDL_lltoa;
-    SDL_ulltoa;
-    SDL_atoi;
-    SDL_atof;
-    SDL_strtol;
-    SDL_strtoul;
-    SDL_strtoll;
-    SDL_strtoull;
-    SDL_strtod;
-    SDL_strcmp;
-    SDL_strncmp;
-    SDL_strcasecmp;
-    SDL_strncasecmp;
-    SDL_vsscanf;
-    SDL_vsnprintf;
-    SDL_vasprintf;
-    SDL_acos;
-    SDL_acosf;
-    SDL_asin;
-    SDL_asinf;
-    SDL_atan;
-    SDL_atanf;
-    SDL_atan2;
-    SDL_atan2f;
-    SDL_ceil;
-    SDL_ceilf;
-    SDL_copysign;
-    SDL_copysignf;
-    SDL_cos;
-    SDL_cosf;
-    SDL_exp;
-    SDL_expf;
-    SDL_fabs;
-    SDL_fabsf;
-    SDL_floor;
-    SDL_floorf;
-    SDL_trunc;
-    SDL_truncf;
-    SDL_fmod;
-    SDL_fmodf;
-    SDL_log;
-    SDL_logf;
-    SDL_log10;
-    SDL_log10f;
-    SDL_pow;
-    SDL_powf;
-    SDL_round;
-    SDL_roundf;
-    SDL_lround;
-    SDL_lroundf;
-    SDL_scalbn;
-    SDL_scalbnf;
-    SDL_sin;
-    SDL_sinf;
-    SDL_sqrt;
-    SDL_sqrtf;
-    SDL_tan;
-    SDL_tanf;
-    SDL_iconv_open;
-    SDL_iconv_close;
-    SDL_iconv;
-    SDL_iconv_string;
-    SDL_CreateSurface;
-    SDL_CreateSurfaceFrom;
-    SDL_DestroySurface;
-    SDL_SetSurfacePalette;
-    SDL_LockSurface;
-    SDL_UnlockSurface;
-    SDL_LoadBMP_RW;
-    SDL_SaveBMP_RW;
-    SDL_SetSurfaceRLE;
-    SDL_SurfaceHasRLE;
-    SDL_SetSurfaceColorKey;
-    SDL_SurfaceHasColorKey;
-    SDL_GetSurfaceColorKey;
-    SDL_SetSurfaceColorMod;
-    SDL_GetSurfaceColorMod;
-    SDL_SetSurfaceAlphaMod;
     SDL_GetSurfaceAlphaMod;
-    SDL_SetSurfaceBlendMode;
     SDL_GetSurfaceBlendMode;
-    SDL_SetSurfaceClipRect;
     SDL_GetSurfaceClipRect;
-    SDL_DuplicateSurface;
-    SDL_ConvertSurface;
-    SDL_ConvertSurfaceFormat;
-    SDL_ConvertPixels;
-    SDL_PremultiplyAlpha;
-    SDL_FillSurfaceRect;
-    SDL_FillSurfaceRects;
-    SDL_BlitSurface;
-    SDL_BlitSurfaceUnchecked;
-    SDL_SoftStretch;
-    SDL_SoftStretchLinear;
-    SDL_BlitSurfaceScaled;
-    SDL_BlitSurfaceUncheckedScaled;
-    SDL_SetYUVConversionMode;
-    SDL_GetYUVConversionMode;
-    SDL_GetYUVConversionModeForResolution;
-    SDL_IsTablet;
-    SDL_OnApplicationWillTerminate;
-    SDL_OnApplicationDidReceiveMemoryWarning;
-    SDL_OnApplicationWillResignActive;
-    SDL_OnApplicationDidEnterBackground;
-    SDL_OnApplicationWillEnterForeground;
-    SDL_OnApplicationDidBecomeActive;
-    SDL_GetWindowWMInfo;
-    SDL_GetThreadName;
-    SDL_ThreadID;
+    SDL_GetSurfaceColorKey;
+    SDL_GetSurfaceColorMod;
+    SDL_GetSystemRAM;
+    SDL_GetTextureAlphaMod;
+    SDL_GetTextureBlendMode;
+    SDL_GetTextureColorMod;
+    SDL_GetTextureScaleMode;
+    SDL_GetTextureUserData;
     SDL_GetThreadID;
-    SDL_SetThreadPriority;
-    SDL_WaitThread;
-    SDL_DetachThread;
-    SDL_TLSCreate;
-    SDL_TLSGet;
-    SDL_TLSSet;
-    SDL_TLSCleanup;
+    SDL_GetThreadName;
     SDL_GetTicks;
     SDL_GetTicksNS;
-    SDL_GetPerformanceCounter;
-    SDL_GetPerformanceFrequency;
-    SDL_Delay;
-    SDL_DelayNS;
-    SDL_AddTimer;
-    SDL_RemoveTimer;
-    SDL_GetNumTouchDevices;
     SDL_GetTouchDevice;
-    SDL_GetTouchName;
     SDL_GetTouchDeviceType;
-    SDL_GetNumTouchFingers;
     SDL_GetTouchFinger;
+    SDL_GetTouchName;
     SDL_GetVersion;
-    SDL_GetRevision;
-    SDL_GetNumVideoDrivers;
     SDL_GetVideoDriver;
-    SDL_GetCurrentVideoDriver;
-    SDL_GetNumVideoDisplays;
-    SDL_GetDisplayName;
-    SDL_GetDisplayBounds;
-    SDL_GetDisplayUsableBounds;
-    SDL_GetDisplayDPI;
-    SDL_GetDisplayOrientation;
-    SDL_GetNumDisplayModes;
-    SDL_GetDisplayMode;
-    SDL_GetDesktopDisplayMode;
-    SDL_GetCurrentDisplayMode;
-    SDL_GetClosestDisplayMode;
-    SDL_GetDisplayIndexForPoint;
-    SDL_GetDisplayIndexForRect;
+    SDL_GetWindowBordersSize;
+    SDL_GetWindowData;
     SDL_GetWindowDisplayIndex;
-    SDL_SetWindowDisplayMode;
     SDL_GetWindowDisplayMode;
-    SDL_GetWindowICCProfile;
-    SDL_GetWindowPixelFormat;
-    SDL_CreateWindow;
-    SDL_CreateWindowFrom;
-    SDL_GetWindowID;
-    SDL_GetWindowFromID;
     SDL_GetWindowFlags;
-    SDL_SetWindowTitle;
-    SDL_GetWindowTitle;
-    SDL_SetWindowIcon;
-    SDL_SetWindowData;
-    SDL_GetWindowData;
-    SDL_SetWindowPosition;
-    SDL_GetWindowPosition;
-    SDL_SetWindowSize;
-    SDL_GetWindowSize;
-    SDL_GetWindowBordersSize;
-    SDL_GetWindowSizeInPixels;
-    SDL_SetWindowMinimumSize;
-    SDL_GetWindowMinimumSize;
-    SDL_SetWindowMaximumSize;
-    SDL_GetWindowMaximumSize;
-    SDL_SetWindowBordered;
-    SDL_SetWindowResizable;
-    SDL_SetWindowAlwaysOnTop;
-    SDL_ShowWindow;
-    SDL_HideWindow;
-    SDL_RaiseWindow;
-    SDL_MaximizeWindow;
-    SDL_MinimizeWindow;
-    SDL_RestoreWindow;
-    SDL_SetWindowFullscreen;
-    SDL_GetWindowSurface;
-    SDL_UpdateWindowSurface;
-    SDL_UpdateWindowSurfaceRects;
-    SDL_SetWindowGrab;
-    SDL_SetWindowKeyboardGrab;
-    SDL_SetWindowMouseGrab;
+    SDL_GetWindowFromID;
     SDL_GetWindowGrab;
+    SDL_GetWindowICCProfile;
+    SDL_GetWindowID;
     SDL_GetWindowKeyboardGrab;
+    SDL_GetWindowMaximumSize;
+    SDL_GetWindowMinimumSize;
     SDL_GetWindowMouseGrab;
-    SDL_GetGrabbedWindow;
-    SDL_SetWindowMouseRect;
     SDL_GetWindowMouseRect;
-    SDL_SetWindowOpacity;
     SDL_GetWindowOpacity;
-    SDL_SetWindowModalFor;
-    SDL_SetWindowInputFocus;
-    SDL_SetWindowHitTest;
-    SDL_FlashWindow;
-    SDL_DestroyWindow;
-    SDL_IsScreenSaverEnabled;
-    SDL_EnableScreenSaver;
-    SDL_DisableScreenSaver;
-    SDL_GL_LoadLibrary;
-    SDL_GL_GetProcAddress;
-    SDL_EGL_GetProcAddress;
-    SDL_GL_UnloadLibrary;
-    SDL_GL_ExtensionSupported;
-    SDL_GL_ResetAttributes;
-    SDL_GL_SetAttribute;
-    SDL_GL_GetAttribute;
-    SDL_GL_CreateContext;
-    SDL_GL_MakeCurrent;
-    SDL_GL_GetCurrentWindow;
-    SDL_GL_GetCurrentContext;
-    SDL_EGL_GetCurrentEGLDisplay;
-    SDL_EGL_GetCurrentEGLConfig;
-    SDL_EGL_GetWindowEGLSurface;
-    SDL_EGL_SetEGLAttributeCallbacks;
-    SDL_GL_GetDrawableSize;
-    SDL_GL_SetSwapInterval;
-    SDL_GL_GetSwapInterval;
-    SDL_GL_SwapWindow;
-    SDL_GL_DeleteContext;
-    SDL_Vulkan_LoadLibrary;
-    SDL_Vulkan_GetVkGetInstanceProcAddr;
-    SDL_Vulkan_UnloadLibrary;
-    SDL_Vulkan_GetInstanceExtensions;
+    SDL_GetWindowPixelFormat;
+    SDL_GetWindowPosition;
+    SDL_GetWindowSize;
+    SDL_GetWindowSizeInPixels;
+    SDL_GetWindowSurface;
+    SDL_GetWindowTitle;
+    SDL_GetWindowWMInfo;
+    SDL_GetYUVConversionMode;
+    SDL_GetYUVConversionModeForResolution;
+    SDL_HapticClose;
+    SDL_HapticDestroyEffect;
+    SDL_HapticEffectSupported;
+    SDL_HapticGetEffectStatus;
+    SDL_HapticIndex;
+    SDL_HapticName;
+    SDL_HapticNewEffect;
+    SDL_HapticNumAxes;
+    SDL_HapticNumEffects;
+    SDL_HapticNumEffectsPlaying;
+    SDL_HapticOpen;
+    SDL_HapticOpenFromJoystick;
+    SDL_HapticOpenFromMouse;
+    SDL_HapticOpened;
+    SDL_HapticPause;
+    SDL_HapticQuery;
+    SDL_HapticRumbleInit;
+    SDL_HapticRumblePlay;
+    SDL_HapticRumbleStop;
+    SDL_HapticRumbleSupported;
+    SDL_HapticRunEffect;
+    SDL_HapticSetAutocenter;
+    SDL_HapticSetGain;
+    SDL_HapticStopAll;
+    SDL_HapticStopEffect;
+    SDL_HapticUnpause;
+    SDL_HapticUpdateEffect;
+    SDL_HasARMSIMD;
+    SDL_HasAVX2;
+    SDL_HasAVX512F;
+    SDL_HasAVX;
+    SDL_HasAltiVec;
+    SDL_HasClipboardText;
+    SDL_HasEvent;
+    SDL_HasEvents;
+    SDL_HasGamepads;
+    SDL_HasJoysticks;
+    SDL_HasLASX;
+    SDL_HasLSX;
+    SDL_HasMMX;
+    SDL_HasNEON;
+    SDL_HasPrimarySelectionText;
+    SDL_HasRDTSC;
+    SDL_HasRectIntersection;
+    SDL_HasRectIntersectionF;
+    SDL_HasSSE2;
+    SDL_HasSSE3;
+    SDL_HasSSE41;
+    SDL_HasSSE42;
+    SDL_HasSSE;
+    SDL_HasScreenKeyboardSupport;
+    SDL_HasSensors;
+    SDL_HideWindow;
+    SDL_Init;
+    SDL_InitSubSystem;
+    SDL_IsAndroidTV;
+    SDL_IsChromebook;
+    SDL_IsDeXMode;
+    S

(Patch may be truncated, please check the link at the top of this post.)