Commit Graph

21344 Commits

Author SHA1 Message Date
Ryan C. Gordon
1a9e6c368f pen: Fixed a comment typo.
[ci skip]
2026-02-03 20:02:42 -05:00
Ryan C. Gordon
dd18d7ff52 pen: Fixed incorrect comment.
Some checks failed
Build (All) / Create test plan (push) Has been cancelled
Build (All) / level1 (push) Has been cancelled
Build (All) / level2 (push) Has been cancelled
2026-02-03 19:44:29 -05:00
Anonymous Maarten
5f151f4532 cmake: cannot detect deprecated apple-clang link options (they are not fatal)
So skip these
2026-02-03 20:54:02 +01:00
Anonymous Maarten
e338287e64 cmake: treat linker warnings as errors when configuring with SDL_WERROR=ON 2026-02-03 20:54:02 +01:00
Nintorch
997a168e00 Add share button mapping to Xbox Series X controller on Android 2026-02-03 11:18:18 -08:00
Sam Lantinga
230286447e Fixed Raspberry Pi build 2026-02-03 11:13:33 -08:00
Sam Lantinga
f60231759d Fixed detecting Nintendo Switch Pro 2 controller on Steam Link hardware
In this case, it's available via both libusb and hidraw, but the hidraw device isn't usable. If a device needs to be opened via libusb, don't expose it via hidraw enumeration.
2026-02-03 10:44:16 -08:00
Ryan C. Gordon
a6c0052f39 srgb: Readd WGL/GLX extension checks when asking for sRGB-capable framebuffers.
Reference Issue #14898.
2026-02-03 13:27:57 -05:00
Ryan C. Gordon
2b5ebb1170 Revert "opengl: Fixes for sRGB framebuffer support."
This reverts commit d62f141b29.

Reference Issue #14898.
2026-02-03 13:27:56 -05:00
Ryan C. Gordon
7bc93da555 Revert "wgl: Added debug code for sRGB issues."
This reverts commit 8c0ac97b0d.

Reference Issue #14898.
2026-02-03 13:27:56 -05:00
Cameron Cawley
f8331d50ff Simplify SDL_GL_EGL_PLATFORM handling 2026-02-03 09:45:19 -08:00
Cameron Cawley
eceb35c96c Add VIDEO_DEVICE_CAPS_SLOW_FRAMEBUFFER and move detection to video drivers (#14817) 2026-02-03 09:38:02 -08:00
Anonymous Maarten
28ea4a8e31 surface: verify surface palette in SDL_Save(BMP|PNG) before hitting the FS 2026-02-03 09:31:57 -08:00
Ryan C. Gordon
bb6ced6fc0 emscripten: Cleanup some wasm32/wasm64 ifdefs.
Some checks failed
Build (All) / Create test plan (push) Has been cancelled
Build (All) / level1 (push) Has been cancelled
Build (All) / level2 (push) Has been cancelled
Fixes #14066.
2026-02-02 19:21:42 -05:00
Ryan C. Gordon
7d093940a7 emscripten: Unify creation of Module['SDL3'] in at SDL_Init time. 2026-02-02 19:21:42 -05:00
Sam Lantinga
de605a3b7e Reverted unintended testsprite changes 2026-02-02 16:00:49 -08:00
Sam Lantinga
b5206909a7 Fixed the GameCube Controller Adapter showing up twice on macOS 2026-02-02 15:53:23 -08:00
Sam Lantinga
cdffbdfeaf Fixed handling GameCube adapters in PC mode on Linux and macOS
On Windows there is a separate HIDAPI device for each slot. On Linux and macOS, there is a single HIDAPI device and the slot is included in the report.
2026-02-02 15:44:44 -08:00
Cameron Cawley
12f97dbc97 egl: Make GLESv1 and v2 shared objects optional 2026-02-02 14:09:17 -08:00
Ryan C. Gordon
8c0ac97b0d wgl: Added debug code for sRGB issues. 2026-02-02 17:03:22 -05:00
SDL Wiki Bot
eb181c8d1a Sync SDL3 wiki -> header
[ci skip]
2026-02-02 19:11:31 +00:00
Evan Hemsley
e25e0f3c5b GPU: Allow D3D12 backend to load vendored D3D12Core.dll (#14946)
---------

Co-authored-by: Ethan Lee <flibitijibibo@gmail.com>
2026-02-02 11:10:03 -08:00
Sam Lantinga
4970067c9a Use SDL_PixelFormat appropriately 2026-02-02 09:46:13 -08:00
eleir9268
a029709f68 QNX: support Wayland backend. (#14950)
Co-authored-by: Aaron Bassett <abassett@qnx.com>
Co-authored-by: Felix Xing <fxing@qnx.com>
2026-02-02 09:02:31 -08:00
Aaron Benjamin
1f7db1ebcf Improve OpenXR loader error messages
Some checks failed
Build (All) / Create test plan (push) Has been cancelled
Build (All) / level1 (push) Has been cancelled
Build (All) / level2 (push) Has been cancelled
When the OpenXR loader library fails to load, provide a detailed error
message explaining:
- On Windows: need openxr_loader.dll in app directory or PATH
- On Linux: install libopenxr-loader package or set LD_LIBRARY_PATH
- Can use SDL_HINT_OPENXR_LIBRARY hint to specify path

Also update D3D12 backend to include the error in its warning log,
and remove redundant SDL_SetError in Vulkan backend that was
overwriting the detailed message.
2026-02-02 10:31:59 -05:00
Ethan Lee
5640647e14 render: D3D12 Xbox buildfixes 2026-02-02 10:10:08 -05:00
Anonymous Maarten
5072b3d252 sdlprocdump: print name of module throwing exceptions
Some checks failed
Build (All) / Create test plan (push) Has been cancelled
Build (All) / level1 (push) Has been cancelled
Build (All) / level2 (push) Has been cancelled
2026-02-02 00:59:20 +01:00
Anonymous Maarten
61ac7314b0 sdlprocdump: add ARRAY_SIZE macro 2026-02-02 00:06:23 +01:00
Anonymous Maarten
d26fef415e SDL_test: add --no-time option to not log times
Some checks failed
Build (All) / Create test plan (push) Has been cancelled
Build (All) / level1 (push) Has been cancelled
Build (All) / level2 (push) Has been cancelled
Combining this new option with a known seed hash allows easy diff-ing between runs
2026-02-01 23:30:51 +01:00
Ethan Lee
e8065ad9a0 gpu: Update the CHECK_DEVICE_MAGIC comments one more time.
Me fail English? That's unpossible!
2026-02-01 14:02:58 -05:00
Ethan Lee
415cc64d2f gpu: Update comments above CHECK_DEVICE_MAGIC macro 2026-02-01 13:54:27 -05:00
Sam Lantinga
de73a4745f Revert "Clarified SDL_GetClipboardText() documentation"
This reverts commit db573de24a.
2026-02-01 10:27:20 -08:00
Sam Lantinga
35b35bf58a Revert "Sync SDL3 wiki -> header"
This reverts commit 104bee68f9.
2026-02-01 10:27:12 -08:00
Anonymous Maarten
b0a9f40e28 cmake: dfix disabling dlopen notes when configuring with -DSDL_DLOPEN_NOTES=OFF 2026-02-01 19:24:03 +01:00
SDL Wiki Bot
104bee68f9 Sync SDL3 wiki -> header
[ci skip]
2026-02-01 17:22:43 +00:00
Sam Lantinga
db573de24a Clarified SDL_GetClipboardText() documentation
Fixes https://github.com/libsdl-org/SDL/issues/14941
2026-02-01 09:20:52 -08:00
Cameron Gutman
4743f97c39 Fix invalidation of bound textures/shaders across a renderer flush on D3D9
Some checks failed
Build (All) / Create test plan (push) Has been cancelled
Build (All) / level1 (push) Has been cancelled
Build (All) / level2 (push) Has been cancelled
2026-01-31 17:17:07 -08:00
SDL Wiki Bot
e2bc4be482 Sync SDL3 wiki -> header
[ci skip]
2026-01-31 21:24:29 +00:00
Lucas Murray
a0dc3a6727 GPU: Fix memory leak when creating D3D12 compute pipelines 2026-01-31 16:23:04 -05:00
Caleb Cornett
742a6fd092 GPU: Query UnrestrictedBufferTextureCopyPitchSupported to avoid D3D12 realignment copies 2026-01-31 16:22:32 -05:00
Ryan C. Gordon
4df13e8806 asyncio: don't report failures on closing read-only files with Windows IoRing.
We still need the task to go through the IoRing, even though the flush
operation we use to get it there will always fail on a read-only file. So
check for this specific case and don't report failure.

Fixes #14878.
2026-01-31 13:27:19 -05:00
Ethan Lee
fe8b68db60 gpu: Rank dzn above lavapipe, for WSL Vulkan support
Some checks failed
Build (All) / Create test plan (push) Has been cancelled
Build (All) / level1 (push) Has been cancelled
Build (All) / level2 (push) Has been cancelled
2026-01-31 08:34:47 -05:00
SDL Wiki Bot
c9b7ca0c42 Sync SDL3 wiki -> header
[ci skip]
2026-01-31 00:25:58 +00:00
Sam Lantinga
63a95a4a4d Updated SDL_PollEvent() documentation
Fixes https://github.com/libsdl-org/sdlwiki/issues/911
2026-01-30 16:23:46 -08:00
Cameron Gutman
e3c9ec7b67 gamepad: Accept older 'Mac OS X' mappings on macOS 2026-01-30 18:12:17 -06:00
SDL Wiki Bot
32cb19e905 Sync SDL3 wiki -> header
[ci skip]
2026-01-30 23:34:34 +00:00
eleir9268
f4a541682a Up-to-date QNX support (#14806)
Co-authored-by: Roberto Speranza <rsperanza@qnx.com>
Co-authored-by: Darcy Phipps <dphipps@qnx.com>
Co-authored-by: Pierce McKinnon <pimckinnon@qnx.com>
2026-01-30 15:32:43 -08:00
SDL Wiki Bot
dc597e0e20 Sync SDL3 wiki -> header
[ci skip]
2026-01-30 22:20:20 +00:00
Aaron Benjamin
9a91d7236a GPU: OpenXR integration (#14837)
Some checks failed
Build (All) / Create test plan (push) Has been cancelled
Build (All) / level1 (push) Has been cancelled
Build (All) / level2 (push) Has been cancelled
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
Henrique Jorge Barateli
8fa8c331a5 Fixed PS2 joystick analog sticks not enabled 2026-01-30 12:17:26 -08:00