Void Star Caster
2e3300e872
Functions to bind GPURenderState storage textures, buffers and sampler bindings ( #15150 )
2026-03-02 12:50:58 -08:00
Jesse Chounard
70e16a8d13
tray: Add icon click callbacks for Windows and macOS ( #14964 )
2026-02-04 12:50:00 -08:00
Aaron Benjamin
9a91d7236a
GPU: OpenXR integration ( #14837 )
...
Based on Beyley's initial draft in #11601 .
Co-authored-by: Beyley Cardellio <ep1cm1n10n123@gmail.com >
Co-authored-by: Ethan Lee <flibitijibibo@gmail.com >
2026-01-30 17:18:51 -05:00
Sam Lantinga
e3e8adcb76
Added SDL_TryLockJoysticks()
2026-01-29 16:15:51 -08:00
Ryan C. Gordon
9918d6cb5e
emscripten: Move fill-document from hint/property to a window flag.
...
Fixes #14617 .
2025-12-07 21:12:13 -05:00
Maia
a01d6f109d
Add SDL_LoadSurface and SDL_LoadSurface_IO ( #14374 )
2025-11-13 14:50:37 -08:00
Sam Lantinga
e18d63a4e2
Added SDL_RotateSurface()
...
Fixes https://github.com/libsdl-org/SDL/issues/14269
2025-10-22 17:55:02 -07:00
Frank Praznik
dcb8a6521c
Add animated cursor support
...
Adds support for animated cursors on Cocoa, Wayland, Win32, and X11.
testcursor can take a semicolon separated list of filenames and load an animated cursor from them.
2025-10-15 14:41:15 -04:00
Susko3
e2bbbdc515
Implement SDL_GetPenDeviceType() for Android
2025-10-13 18:43:16 -04:00
Ryan C. Gordon
f7d5bb3c7a
cpuinfo: Added SDL_GetSystemPageSize.
...
Fixes #14201 .
2025-10-10 21:16:10 -04:00
Sam Lantinga
73334b6bb4
Added support for loading and saving PNG images using stb_image
2025-10-06 16:45:53 -07:00
Sam Lantinga
a864dcac25
Added support for using the GPU renderer as an offscreen renderer
...
SDL_CreateGPURenderer() now allows passing in an existing GPU device and passing in a NULL window to create an offscreen renderer.
Also renamed SDL_SetRenderGPUState() to SDL_SetGPURenderState().
2025-10-01 23:32:18 -07:00
Sam Lantinga
0b4b254a53
Added support for textures with palettes
...
Closes https://github.com/libsdl-org/SDL/pull/6192
2025-09-28 22:10:06 -07:00
Sam Lantinga
035eed351c
Added SDL_GetPixelFormatFromGPUTextureFormat() and SDL_GetGPUTextureFormatFromPixelFormat()
...
Fixes https://github.com/libsdl-org/SDL/issues/13899
2025-09-10 12:08:04 -07:00
Sam Lantinga
1a653f7f89
Exported SDL_hid_get_properties()
2025-08-28 09:13:01 -07:00
Sam Lantinga
42f634ff7a
Added SDL_AddAtomicU32()
...
Fixes https://github.com/libsdl-org/SDL/issues/13496
2025-08-27 06:44:51 -07:00
Sam Lantinga
9a71e3fd50
Revert "Add SDL_IsTraySupported"
...
This reverts commit 47d8bdd1c3 .
There are runtime reasons why creating a tray can fail, so the correct approach is not to assume that just because a platform supports a tray that trays are available. Instead, you should create a tray at application startup, for the lifetime of the application, and handle failures at that point.
Closes https://github.com/libsdl-org/SDL/pull/13632
2025-08-04 10:42:43 -07:00
Ryan C. Gordon
c80d6954cb
Revert "audio: Added SDL_SetAudioIterationCallbacks()."
...
This reverts commit 608f706a95 .
Didn't end up using this in SDL3_mixer, and it's a super-awkward API if we
don't need it.
I _might_ bite the bullet and let people lock a physical audio device, though,
as I could see that being useful but less awkward for the same reasons I
originally wanted it.
2025-07-25 01:38:21 -04:00
Semphris
47d8bdd1c3
Add SDL_IsTraySupported
2025-07-21 12:54:51 -04:00
Ryan C. Gordon
5e50d39b38
audio: Added SDL_PutAudioStreamDataNoCopy.
2025-05-26 12:34:37 -04:00
Ryan C. Gordon
22692e308f
events: Added SDL_GetEventDescription().
...
Fixes #12877 .
2025-04-25 19:30:05 -04:00
Ryan C. Gordon
608f706a95
audio: Added SDL_SetAudioIterationCallbacks().
2025-04-25 14:13:53 -04:00
Ryan C. Gordon
3905aa0587
audio: Added SDL_PutAudioStreamPlanarData.
...
Fixes #12846 .
2025-04-22 23:30:50 -04:00
Topi-Matti Ritala
f7b7188837
Add SDL_CreateGPURenderer
2025-04-07 09:26:03 -07:00
Sam Lantinga
39a3b14dfe
Renamed SDL_GetGPUDeviceDebugProperties() to SDL_GetGPUDeviceProperties()
...
We may want to extend this with additional properties in the future.
Also removed SDL_PROP_GPU_DEVICE_DEBUG_VULKAN_CONFORMANCE_STRING. If we need feature level queries we can add them in the future.
2025-04-03 14:59:11 -07:00
Lucas Murray
f78aa4d8ea
GPU: Expose debug information from devices
...
Co-authored-by: Nikita Kogut <glinka1202@gmail.com >
2025-04-03 08:52:51 -07:00
Sam Lantinga
633b9f6fb1
Added SDL_SetRenderTextureAddressMode() and SDL_GetRenderTextureAddressMode()
...
Fixes https://github.com/libsdl-org/SDL/issues/4820
Fixes https://github.com/libsdl-org/SDL/issues/12610
2025-03-28 13:51:19 -07:00
Rémy Tassoux
6cc00a31b6
WindowProgressState API getters and fixes ( #12629 )
2025-03-25 08:03:32 -07:00
Rémy Tassoux
7a10fcdccc
Add progress bar support for Windows ( #12530 )
2025-03-22 08:04:10 -07:00
Sam Lantinga
02faa8f75c
Rename SDL_SetGPURenderStateFragmentUniformData() to SDL_SetGPURenderStateFragmentUniforms()
2025-03-14 09:26:30 -07:00
Sam Lantinga
2aee105b43
Added support for custom shaders with the GPU renderer
...
Added an example of MSDF font rendering with the SDL 2D renderer
2025-03-14 09:26:30 -07:00
Sam Lantinga
2c46c3d5b7
Updated dynamic API for new functions
2025-03-02 07:53:51 -08:00
Sam Lantinga
8e51b2468a
Renamed SDL_SoftStretch() to SDL_StretchSurface()
...
Fixes https://github.com/libsdl-org/SDL/issues/12168
2025-02-03 08:51:32 -08:00
Sam Lantinga
a98a4b8a68
Re-added SDL_SoftStretch() to the API
...
This is needed for sdl2-compat, since a blit is not quite equivalent.
2025-02-02 13:41:36 -08:00
Sam Lantinga
5f2dd5f04e
tray: fixed multi-threading issues with GTk implementation
...
GTK+ documentation states that all GDK and GTK+ calls should be made from the main thread.
Fixes https://github.com/libsdl-org/SDL/issues/11984
2025-01-19 18:53:55 -08:00
Sam Lantinga
042898995c
Added SDL_ClickTrayEntry()
...
Also removed the app delegate from the tray code on Cocoa and folded that into SDL3AppDelegate.
Fixes https://github.com/libsdl-org/SDL/issues/11906
2025-01-10 12:55:50 -08:00
Ryan C. Gordon
3f7f632e14
audio: Added SDL_AudioDeviceStreamPaused.
...
We had the other two wrapper functions to pause and resume, and forgot query.
2025-01-09 01:36:57 -05:00
Sam Lantinga
22422f7748
Fixed ABI compatibility with 3.1.6
2025-01-07 17:32:59 -08:00
Moritz
ca4f5dd40d
Added SDL_GetThreadState
2024-12-25 13:15:18 -08:00
Semphriss
01b9b0edb7
Add system tray support ( #10873 )
2024-12-24 10:36:39 -08:00
Ryan C. Gordon
4d4a2786bb
render: Updates to format-string versions of SDL_RenderDebugText.
...
- Removes SDL_RenderDebugTextV
- Changes SDL_RenderDebugTextF to SDL_RenderDebugTextFormat and tweaks it to
work in a world without SDL_RenderDebugTextV.
- Tweaked rendering position of formatted text in the example program.
2024-12-18 10:40:31 -05:00
williamistGitHub
1d0e28a5b3
Add SDL_RenderDebugTextF & SDL_RenderDebugTextV
...
This should make it easier to quickly put important numbers and such on
the screen without having to format them into a string manually.
2024-12-18 10:40:31 -05:00
Evan Hemsley
3ee39f6c3f
GPU: Revise swapchain acquisition ( #11633 )
...
---------
Co-authored-by: Lucas Murray <22484+lmurray@users.noreply.github.com >
2024-12-11 11:16:35 -08:00
Sam Lantinga
846eb9a886
Added SDL_RenderTextureAffine() to the exported API
2024-12-06 14:16:16 -08:00
Evan Hemsley
fa5f84fb6e
GPU: Add SetGPUAllowedFramesInFlight ( #11599 )
2024-12-06 11:56:20 -08:00
Sam Lantinga
23828b62d4
Added SDL_IsMainThread() and SDL_RunOnMainThread()
2024-12-05 13:53:51 -08:00
Ozkan Sezer
5bfece34f9
ran gendynapi.pl after PR/11170.
2024-12-05 02:28:50 +03:00
Ryan C. Gordon
e79ce2a200
asyncio: Added async i/o APIs.
2024-12-03 17:32:20 -05:00
Ryan C. Gordon
ce573b01f8
audio: Added SDL_IsAudioDevicePhysical and SDL_IsAudioDevicePlayback.
...
Fixes #11529 .
2024-11-29 17:31:37 -05:00
Ryan C. Gordon
f852038384
filesystem: Added SDL_GetCurrentDirectory().
...
Fixes #11531 .
2024-11-27 23:42:11 -05:00