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
72a3e4084a
testsymbols: Use the existing symbol list in SDL_dynapi_procs.h
2025-10-13 10:58:03 -04:00
Ryan C. Gordon
f7d5bb3c7a
cpuinfo: Added SDL_GetSystemPageSize.
...
Fixes #14201 .
2025-10-10 21:16:10 -04:00
Sam Lantinga
ee622c570a
Made SDL_dlopennote.h a public header
2025-10-10 12:47:42 -07: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
Anonymous Maarten
9f721e8a9c
Add test that verifies all SDL3 symbols are available
2025-09-26 21:42:04 +02:00
Anonymous Maarten
4718000dba
Add JNI_OnLoad to dynamic API
2025-09-26 21:42:04 +02:00
Anonymous Maarten
cdc4609993
Add headers for unsupported sources
2025-09-26 21:42:04 +02:00
Ozkan Sezer
9cefbab766
remove watcom compiler support from private sources
2025-09-20 03:47:02 +03: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
Anonymous Maarten
c50e4b22ab
dlopennot: ngage's g++ compiler does not support variadic macros
2025-08-27 18:53:35 +02:00
Sam Lantinga
285df94623
Renamed SDL_GPURenderStateDesc to SDL_GPURenderStateCreateInfo for consistency with GPU API conventions
...
Fixes https://github.com/libsdl-org/SDL/issues/12817
2025-08-27 09:14:19 -07:00
Anonymous Maarten
0a6b80717c
Record dynamic dependencies in .note.dlopen elf section
2025-08-27 16:11:39 +00:00
Sam Lantinga
42f634ff7a
Added SDL_AddAtomicU32()
...
Fixes https://github.com/libsdl-org/SDL/issues/13496
2025-08-27 06:44:51 -07:00
Merlyn Morgan-Graham
385715c0dd
Introduce enum for SDL_GetCameraPermissionState result
2025-08-25 14:43:31 -04: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
Brenton Bostick
f361034ac3
fix typos
2025-07-27 08:10:03 -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
Susko3
923813b399
Disable SDL_DYNAMIC_API when using ReSharper
2025-06-29 12:37:56 -04:00
Ryan C. Gordon
5e50d39b38
audio: Added SDL_PutAudioStreamDataNoCopy.
2025-05-26 12:34:37 -04:00
Michael Fitzmayer
7ae64592c9
Restore support for the Nokia N-Gage ( #12148 )
2025-05-22 11:07:22 -07:00
Ryan C. Gordon
af0972c33f
audio: SDL_PutAudioStreamPlanarData should take a channel count.
...
Fixes #12894 .
2025-04-25 21:13:04 -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
Maia
d50520462a
Add and use SDL_HapticEffectID typedef
2025-04-24 08:51:55 -07: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
Ryan C. Gordon
8730f6a569
dynapi: Don't use SDL_getenv; it might malloc before the app sets an allocator.
...
Use platform-specific code instead, so SDL's allocator never comes into play.
(cherry picked from commit d2693d4c7d )
2025-02-06 12:46:15 -05: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
ab5cb707a6
Fixed enabling call logging
2025-01-31 14:22:29 -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