Commit Graph

3009 Commits

Author SHA1 Message Date
SDL Wiki Bot
767459e4cd Sync SDL3 wiki -> header
[ci skip]
2026-08-11 05:04:02 +00:00
SDL Wiki Bot
56ef0efc20 Sync SDL3 wiki -> header
[ci skip]
2026-08-06 17:37:45 +00:00
Sam Lantinga
ad30741a5b Additional clarification on blend mode usage 2026-08-06 10:36:21 -07:00
Sam Lantinga
81afb82f2d Clarify how the draw blend mode is used in the 2D renderer
Fixes https://github.com/libsdl-org/SDL/issues/16109
2026-08-06 08:47:50 -07:00
Ozkan Sezer
f661f37ace update khronos headers from mainstream. 2026-08-04 03:28:10 +03:00
SDL Wiki Bot
494cb8447d Sync SDL3 wiki -> header
[ci skip]
2026-08-03 20:19:06 +00:00
Evan Hemsley
5538d52430 GPU: Allow combinations of read flags on buffers (#16111) 2026-08-03 13:16:20 -07:00
SDL Wiki Bot
fdc1143337 Sync SDL3 wiki -> header
[ci skip]
2026-08-03 06:23:36 +00:00
Sanjay Govind
7010faef34 Add support for GIP instruments via hidapi, and drums via gameinput (#16009) 2026-08-02 16:27:46 -07:00
SDL Wiki Bot
7add7ece3c Sync SDL3 wiki -> header
[ci skip]
2026-07-31 15:51:46 +00:00
eafton
7b7a74ebc7 Fix some DBus tray issues 2026-07-31 08:49:03 -07:00
SDL Wiki Bot
09552d5bee Sync SDL3 wiki -> header
[ci skip]
2026-07-31 02:31:40 +00:00
Sam Lantinga
fe85b4782d Support extended interop with the 2D Metal renderer
Also fixed an issue where an external surface couldn't be used with IYUV and YV12 textures.
2026-07-30 19:28:50 -07:00
Lucas Alves
3304ec648b Add "_FIRST/_LAST" fields to events subsections. 2026-07-25 12:01:55 -07:00
Sam Lantinga
23b641070c Added HDR10 display support for the direct3d11, direct3d12, and vulkan renderers 2026-07-22 11:36:32 -07:00
Esme Povirk
3fc8509b36 Fix build on arm64ec. 2026-07-21 07:44:17 -07:00
SDL Wiki Bot
377150b59e Sync SDL3 wiki -> header
[ci skip]
2026-07-19 16:47:13 +00:00
Ryan C. Gordon
daf519ae05 assert: make disabled asserts work with bitfield conditions.
We don't care _what_ the `sizeof` results are, we just want it to vaporize
the condition's code out of the build. So we check it with a `? 1 : 0`, so it
always boils down to a `sizeof (int)`, no matter what data type the condition
actually is.

This works with bitfields, pointers, anything that can be "truthy." If it
isn't truthy, it would fail when assertions are enabled anyhow.

Fixes #15990.
2026-07-13 18:17:33 -04:00
Ozkan Sezer
a6c294410e introduce new printf format macros SDL_PRISZu, SDL_PRISZx and SDL_PRISZX 2026-07-13 22:35:03 +03:00
Ryan C. Gordon
82141a2439 api: Added SDL_GetNumProperties().
Fixes #14761.
2026-07-11 15:11:30 -04:00
SDL Wiki Bot
50852f7f1b Sync SDL3 wiki -> header
[ci skip]
2026-07-08 23:11:32 +00:00
Sam Lantinga
782d6bc116 Note that Windows doesn't see mouse button releases when RIDEV_NOLEGACY is active. 2026-07-08 16:08:38 -07:00
SDL Wiki Bot
eb88a154fa Sync SDL3 wiki -> header
[ci skip]
2026-07-06 20:30:33 +00:00
Sam Lantinga
d8d5b7c6c5 Added a slider to manually adjust HDR headroom on visionOS
Ideally the OS would provide a way to query the current headroom, but for now users can manually adjust it.
2026-07-06 13:25:12 -07:00
brentfpage
46dcc0c554 for 'pinch end' events on mobile devices, send dummy value -1 for (focus|span)_(x|y) 2026-07-06 05:52:47 -07:00
Ozkan Sezer
a6d7872d2f SDL_notification.h: fix for C89 mode. 2026-07-04 00:47:56 +03:00
Ozkan Sezer
aad60dec77 SDL_intrin.h: fix error from old gcc. 2026-07-04 00:47:55 +03:00
SDL Wiki Bot
ceb4a7f1cb Sync SDL3 wiki -> header
[ci skip]
2026-07-01 22:03:03 +00:00
Ryan C. Gordon
eb04627741 stdinc: SDL_SetMemoryFunctions now handles NULL function pointers better.
Now it does _not_ call SDL_SetError(), since that would allocate memory with
the system in a weird state, and setting all four functions to NULL will
restore the original memory functions, as a shortcut vs having to query
SDL_GetOriginalMemoryFunctions() first.

Fixes #15914.
2026-07-01 18:00:09 -04:00
SDL Wiki Bot
4fe0d8c1cd Sync SDL3 wiki -> header
[ci skip]
2026-06-30 16:33:03 +00:00
Frank Praznik
d8971fa00a wayland: Add support for the session management protocol
Add session management protocol support for saving/restoring toplevel window state across runs.
2026-06-30 12:30:08 -04:00
SDL Wiki Bot
9da5a636ad Sync SDL3 wiki -> header
[ci skip]
2026-06-29 17:51:17 +00:00
Andrei Sabalenka
7ee8160922 gpu: make NULL object releases no-ops
These functions already return immediately for NULL objects in normal builds, but it was done through CHECK_PARAM. When building with SDL_DISABLE_INVALID_PARAMS, these checks were compiled out, and NULL resources could reach backend release functions and cause segfault.

Always return on NULL so API behaves consistently regardless of SDL_DISABLE_INVALID_PARAMS.
2026-06-29 10:47:52 -07:00
Ozkan Sezer
4bebbec9d4 update khronos headers from mainstream. 2026-06-26 21:32:02 +03:00
SDL Wiki Bot
0fa422231d Sync SDL3 wiki -> header
[ci skip]
2026-06-24 19:48:34 +00:00
Sam Lantinga
089b862732 Added SDL_HINT_WINDOWS_RAW_MOUSE_NOLEGACY 2026-06-24 12:45:36 -07:00
Ryan C. Gordon
179e66f1fe docs: Improved SDL_CommonEvent documentation. 2026-06-24 13:15:53 -04:00
SDL Wiki Bot
135a9457f3 Sync SDL3 wiki -> header
[ci skip]
2026-06-23 18:34:01 +00:00
Frank Praznik
5471f4c3de notification: Fix old function names in documentation 2026-06-23 14:31:01 -04:00
Ryan C. Gordon
0b692f64b0 docs: warn not to destroy an SDL_AudioStream during its callback.
Fixes #15871.
2026-06-23 13:49:46 -04:00
SDL Wiki Bot
e300b87e35 Sync SDL3 wiki -> header
[ci skip]
2026-06-23 07:25:14 +00:00
SDL Wiki Bot
1a21db244c Sync SDL3 wiki -> header
[ci skip]
2026-06-23 02:18:50 +00:00
Ryan C. Gordon
4f778d56fd .wikiheaders-options: Fix Notification category. 2026-06-22 22:17:12 -04:00
Ryan C. Gordon
c1918f0817 docs: SDL_Locale is a struct, not a function. 2026-06-22 22:13:21 -04:00
Sam Lantinga
07ecc125cf Added SDL_PIXELFORMAT_P408 and SDL_PIXELFORMAT_P416 2026-06-22 17:01:54 -05:00
SDL Wiki Bot
0bb539314d Sync SDL3 wiki -> header
[ci skip]
2026-06-22 03:32:20 +00:00
Brent Page
65091012b4 Add more information for pinch gestures on mobile (#15092) 2026-06-21 20:30:50 -07:00
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