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 )"
...
Build (All) / Create test plan (push) Waiting to run
Build (All) / level1 (push) Blocked by required conditions
Build (All) / level2 (push) Blocked by required conditions
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
Sam Lantinga
36f621842b
Use the Microsoft provided GameInputCreate() function ( #15797 )
...
It does better version checking and has better compatibility.
This also fixes a crash in GameInputRedist.dll when attempting to load v3 when v2 is installed on the system. In this case, a thread is created in GameInputCreate() which is not cleaned up when the object is released, and can crash later with a NULL pointer dereference.
2026-06-10 12:57:43 -07: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()
Build (All) / Create test plan (push) Has been cancelled
Build (All) / level1 (push) Has been cancelled
Build (All) / level2 (push) Has been cancelled
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
Sylvain Becker
d4236dcd85
opengles: Readd an OpenGL ES 1 renderer to SDL3! ( #15185 )
...
This readds the "opengles" renderer, updated from SDL2 to work on SDL3.
Fixes #15661 .
Co-authored-by: Ryan C. Gordon <icculus@icculus.org>
Co-authored-by: Cameron Cawley <ccawley2011@gmail.com>
2026-05-25 20:41:13 -04:00
SDL Wiki Bot
259207eb23
Sync SDL3 wiki -> header
...
[ci skip]
2026-05-25 18:05:03 +00:00
Anonymous Maarten
08e338f45c
_uitoa does not exist
2026-05-25 17:26:09 +02:00
Anonymous Maarten
55388abb34
Revert "SDL_itoa(): use _itoa_s(), not _ltoa_s()"
...
This reverts commit ae07e32269 .
This reverts commit 33c9f1a70a .
2026-05-25 17:26:09 +02:00
Anonymous Maarten
33c9f1a70a
Fix -Wdeprecated-declarations warnings
...
An alternative could be to define _CRT_SECURE_NO_WARNINGS
2026-05-21 22:50:32 +02: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
Sam Lantinga
de08751537
Fixed build for older toolchains that don't have arm_sve.h
2026-05-14 11:42:54 -07:00
Sylvain Becker
11745aad07
Fix build with SVE2 ( #15586 )
2026-05-14 11:17:53 -07:00
Anonymous Maarten
2fa7ba1e4f
stdinc: _Countof is only available in C mode
2026-05-14 18:42:46 +02:00