SDL Wiki Bot
941dda1ccd
Sync SDL3 wiki -> header
...
[ci skip]
2026-06-21 18:52:43 +00:00
Semphriss
e52dbf4442
Add basic Ubuntu Touch functions #12543
...
This adds support for:
* System theme
* Sandbox detection
* Device form factor detection
Many things aren't properly supported yet, but changes and upgrades will happen on the Ubuntu Touch side, so SDL should automatically support more Ubuntu Touch features as time goes.
2026-06-21 11:51:15 -07:00
SDL Wiki Bot
da8ee4d5cc
Sync SDL3 wiki -> header
...
[ci skip]
2026-06-21 15:34:46 +00:00
Semphriss
d474769878
Detect device form factor ( #12584 )
2026-06-21 08:33:13 -07:00
Ryan C. Gordon
3a1cfbc147
main: If SDL_MAIN_CALLBACK_RATE="waitevent", have at least one iteration run.
...
This way apps can at least draw an initial image to their windows before going
into a deep, blocking wait for user interaction.
Fixes #15027 .
2026-06-19 14:14:13 -04:00
Christmas-Missionary
2536a22012
Enforce the minimum version of macOS to be 10.12
...
- clock_gettime_nsec_np is not defined until 10.12
2026-06-18 00:45:49 -04:00
SDL Wiki Bot
ae429cf5ee
Sync SDL3 wiki -> header
...
[ci skip]
2026-06-17 23:50:18 +00:00
Sam Lantinga
c9b6581210
Added SDL_HINT_ENABLE_STEAM_SCREEN_KEYBOARD
2026-06-17 16:48:54 -07:00
Roman Fomin
b0a9aa3db0
Fix the "redundant redeclaration" warning for __debugbreak when using MinGW ( #14264 )
2026-06-16 18:58:23 -04:00
Ryan C. Gordon
8138f91e5c
docs: Clarify the purpose of SDL_PROP_PROCESS_CREATE_BACKGROUND_BOOLEAN.
...
Reference Issue #14435 .
2026-06-16 13:04:01 -04:00
SDL Wiki Bot
f860d9d592
Sync SDL3 wiki -> header
...
[ci skip]
2026-06-16 02:19:11 +00:00
Sam Lantinga
9c30a7cc82
Revert "Add an invalid #define for SDL_ThreadID() to SDL_oldnames.h ( #15801 )"
...
This reverts commit b04d026458 .
This caused problems building sdl2-compat:
https://github.com/libsdl-org/sdl2-compat/actions/runs/27378527337/job/81120423041
2026-06-12 14:59:22 -07:00
Daniel Gibson
b04d026458
Add an invalid #define for SDL_ThreadID() to SDL_oldnames.h ( #15801 )
...
in SDL2 SDL_ThreadID() was a function that's now
SDL_GetCurrentThreadID(), but in SDL3 SDL_ThreadID is a type, so
in C++ `x = SDL_ThreadID()` is valid code (default constructor which
in case of integers means 0), so that's a massive footgun.
See the big comment in SDL_oldnames.h for more details.
Added `#undef SDL_ThreadID` in SDL_dynapi.c because it has one of the
(quite rare) cases where "SDL_ThreadID" followed by a "(" is actually
correct and necessary (function pointer returning SDL_ThreadID).
2026-06-12 10:24:56 -07:00
SDL Wiki Bot
7c60bcd83c
Sync SDL3 wiki -> header
...
[ci skip]
2026-06-11 18:34:25 +00:00
Anonymous Maarten
f70ea37517
Hide SDL_wcstoll and SDL_wcstoull for compilers not supporting long long ( #15808 )
...
Co-authored-by: Sam Lantinga <slouken@libsdl.org >
2026-06-11 20:33:06 +02:00
SDL Wiki Bot
3e588d5bcc
Sync SDL3 wiki -> header
...
[ci skip]
2026-06-10 17:29:25 +00:00
Frank Praznik
068e405912
Add notification framework with test and dummy driver
2026-06-10 13:25:38 -04:00
SDL Wiki Bot
c91c5c7d85
Sync SDL3 wiki -> header
...
[ci skip]
2026-06-08 16:02:29 +00:00
Frank Praznik
96919c37c9
stdlib: Add SDL_wcstoul(), SDL_wcstoll(), and SDL_wcstoull()
...
Includes the appropriate stdlib checks and automated tests.
2026-06-08 11:58:47 -04:00
Sam Lantinga
55908f14f8
Added SDL_aligned_alloc_zero()
2026-06-05 13:55:32 -07:00
Sam Lantinga
f9d49358d2
Create a global event lock for hardware that generates events
...
This prevents ABBA deadlocks caused by taking a hardware resource lock then delivering events at the same time another thread is taking a hardware resource lock from an event watch callback.
Fixes https://github.com/libsdl-org/SDL/issues/15709
2026-06-02 16:51:58 -07:00
SDL Wiki Bot
38e7155cd6
Sync SDL3 wiki -> header
...
[ci skip]
2026-05-31 02:51:28 +00:00
Ryan C. Gordon
098a066f20
docs: Update documentation for SDL_stack_free.
...
Reference Issue #15727 .
2026-05-30 22:49:38 -04:00
Ryan C. Gordon
67e6f5b7ee
stdinc: make SDL_stack_free evaluate to ((void)(data)) when alloca is usable.
...
Fixes #15727 .
2026-05-30 22:45:33 -04:00
Anonymous Maarten
dd0536b170
stdinc: only use _Countof for SDL_arraysize when using a C standard > C23
2026-05-30 13:39:01 +02:00
SDL Wiki Bot
8c0add4351
Sync SDL3 wiki -> header
...
[ci skip]
2026-05-27 23:36:18 +00:00
Evan Hemsley
7911975414
GPU: Clarify some presentation concerns in docs ( #15707 )
2026-05-27 16:34:48 -07:00
SDL Wiki Bot
511783b2ba
Sync SDL3 wiki -> header
...
[ci skip]
2026-05-26 14:59:13 +00:00
Gabriel Wang
f2dba2626e
SVE2: Improves SVE2 8888 swizzling performance and important fixes ( #15662 )
...
* SVE2 was actually disabled in fdfbbce , this issue is fixed
- The macro __ARM_FEATURE_SVE is only defined when the compilation target is set as -march=armv8-m+sve2
* Improves 8888 alpha-blending performance
- Now, in In-Order AArch64 processors, e.g. A520, SVE2 is better than NEON with the 128bit vector width
- For Out-of-order processors, NEON is still better than SVE2 (We could improve this in the future), the performance is improved from 3.0 to 3.6.
* The 8888 -> RGB565 performance is also improved (from 7.4 to 9.3)
2026-05-26 07:57:44 -07:00
SDL Wiki Bot
d5438360d2
Sync SDL3 wiki -> header
...
[ci skip]
2026-05-26 13:58:48 +00:00
Ryan C. Gordon
d0f6264f95
docs: Update notes on SDL_AudioStream format management.
...
Fixes #15688 .
2026-05-26 09:57:06 -04:00
SDL Wiki Bot
259207eb23
Sync SDL3 wiki -> header
...
[ci skip]
2026-05-25 18:05:03 +00:00
Ryan C. Gordon
9a56bc66b5
assert: fixed compiler warning with LLVM + x86_64-pc-windows-msvc target.
...
Fixes #15578 .
2026-05-20 13:02:41 -04:00
Sam Lantinga
33e237eb67
visionos: persist all configurable window settings
...
Save the gaze indicator and dimmed mode setting as well as curvature
2026-05-17 11:35:30 -07:00
Cameron Gutman
6d3404e4bb
gamepad: Add SDL_GAMEPAD_TYPE_STEAM for Steam Controllers
2026-05-17 11:19:16 -07:00
SDL Wiki Bot
31d6acef64
Sync SDL3 wiki -> header
...
[ci skip]
2026-05-17 15:51:20 +00:00
Sam Lantinga
63d2635719
Added SDL_HINT_AUDIO_DUCK_OTHERS
...
Previously default audio on Apple platforms would duck other audio streams. This is unexpected, so by default we won't do that and you can use the hint SDL_HINT_AUDIO_DUCK_OTHERS to re-enable that behavior.
2026-05-17 08:47:36 -07:00
ceski
5b98c1cc2f
Add capacitive sense gamepad events ( #15627 )
2026-05-17 08:26:29 -07:00
Ozkan Sezer
968b0c6910
update gl/egl headers from khronos.
2026-05-17 16:29:03 +03:00
Ozkan Sezer
75c94e9b31
SDL_opengl_glext.h, src/video/directx/d3d12.h: revert unintended changes from commit d70578b9aa
2026-05-17 16:28:29 +03:00
Ozkan Sezer
d4fa4b4634
SDL_opengles2_khrplatform.h: add cygwin bit missed in commit 2cd5cd2a.
2026-05-17 11:50:10 +03:00
Ozkan Sezer
2cd5cd2a42
cygwin: patch egl/opengles headers for EGLAPIENTRY
2026-05-17 09:55:31 +03:00
Anonymous Maarten
71979477c7
include: add sve2 to documentation of SDL_HINT_CPU_FEATURE_MASK
2026-05-17 04:41:56 +02:00
Ozkan Sezer
774506c2b7
SDL_opengl.h: clean-up SDL's cygwin customization.
2026-05-16 09:24:33 +03:00
stahta01
6586bebfec
Fix Cygwin building and add CI ( #15566 )
...
Co-authored-by: TrueCat17 <truecat17@gmail.com >
Co-authored-by: Anonymous Maarten <anonymous.maarten@gmail.com >
Co-authored-by: Ozkan Sezer <sezeroz@gmail.com >
2026-05-15 08:48:24 -07:00
SDL Wiki Bot
ff98125cbd
Sync SDL3 wiki -> header
...
[ci skip]
2026-05-15 00:43:30 +00:00
Petar Popovic
8787895575
SDL_video.h comment update
2026-05-14 17:42:02 -07:00
Sam Lantinga
fdfbbcefb2
Fixed error: "SVE support not enabled" building on Android
2026-05-14 12:01:19 -07:00
SDL Wiki Bot
9e07e0c215
Sync SDL3 wiki -> header
...
[ci skip]
2026-05-14 18:52:22 +00:00
crudelios
439ffd13eb
Android: Add support for folder dialogs
2026-05-14 11:50:52 -07:00