23221 Commits
Author SHA1 Message Date
Ryan C. Gordon 7a56d55a54 Sync SDL3 wiki -> headers. 2026-11-29 20:28:02 -05:00
Ryan C. Gordon 2c52c10441 webgpu: Several wikiheaders fixes for the new WebGPU work. 2026-11-29 20:27:01 -05:00
Ryan C. Gordon f9d0f07eca webgpu: Restore reverted code from cdf5299706. 2026-11-29 20:21:27 -05:00
Ryan C. Gordon a19af5051c Revert "Sync SDL3 wiki -> header"
This reverts commit b21ee37bbb.
2026-11-29 20:20:34 -05:00
Ryan C. Gordon e623812beb Revert "gpu: Make WebGPU device creation fail if Asyncify isn't linked & add Asyncify to requirements (#16853)"
This reverts commit cdf5299706.
2026-11-29 16:59:04 -05:00
Ryan C. Gordon 20541fb3a2 Revert "Sync SDL3 wiki -> header"
This reverts commit ac226f443d.
2026-11-29 16:58:51 -05:00
Michael Fitzmayer 1fe7891286 N-Gage CI: use prebuilt ngage-toolchain release package 2026-11-29 12:34:55 -08:00
SDL Wiki Bot ac226f443d Sync SDL3 wiki -> header
[ci skip]
2026-11-29 18:02:55 +00:00
The Stickmahn cdf5299706 gpu: Make WebGPU device creation fail if Asyncify isn't linked & add Asyncify to requirements (#16853) 2026-11-29 10:02:24 -08:00
The Stickmahn f0ba99fe51 gpu: Make bgra8unorm-storage feature optional on WebGPU 2026-11-29 07:35:37 -08:00
The Stickmahn f8ed98c6ad gpu: NULL check on WebGPU texture creation 2026-11-29 07:35:37 -08:00
Ethan Lee 3b9070fc1a gpu: Move viewport size validation storage to RenderPass struct 2026-11-28 20:42:21 -05:00
Sam Lantinga 13a7d1e54d Fixed Joy-Con charging grips showing up as Switch 2 Joy-Cons
Fixes https://github.com/libsdl-org/SDL/issues/16824
2026-11-28 13:29:56 -08:00
Sam Lantinga c6e0d72cfe Added support for SDL_COPY_BLEND_PREMULTIPLIED with geometry in the software renderer
Fixes https://github.com/libsdl-org/SDL/issues/16844
2026-11-28 11:54:05 -08:00
Sam Lantinga 81346df8f7 Set SDL_PROP_GPU_DEVICE_NAME_STRING and SDL_PROP_GPU_DEVICE_DRIVER_INFO_STRING for WebGPU 2026-11-28 11:44:49 -08:00
Sam Lantinga c6ad2a3b64 Don't save and destroy the passed in properties when creating a WebGPU device
Fixes https://github.com/libsdl-org/SDL/issues/16845
2026-11-28 11:32:27 -08:00
SDL Wiki Bot b21ee37bbb Sync SDL3 wiki -> header
[ci skip]
2026-11-28 17:43:46 +00:00
The Stickmahn 01b2a215ba GPU: Experimental WebGPU SDLGPU Backend (#16020) 2026-11-28 09:43:19 -08:00
SDL Wiki Bot 50ce1ed250 Sync SDL3 wiki -> header
[ci skip]
2026-11-28 16:08:18 +00:00
Sam Lantinga 0b47c1c07c Note that SDL content loading functions are not security hardened 2026-11-28 08:06:49 -08:00
jtainer 4c60f49b6b Fix background process creation on macOS 2026-11-27 19:34:25 -05:00
SDL Wiki Bot f22b708323 Sync SDL3 wiki -> header
[ci skip]
2026-11-28 00:31:15 +00:00
Ryan C. Gordon f198c2b9fc opengl/opengles: Forgot to actually delete the FBO destroying textures. 2026-11-27 19:05:36 -05:00
Ryan C. Gordon 255c9fe80a opengles: Rework render targets.
Now this keeps one FBO for each SDL_TEXTUREACCESS_TARGET texture, and doesn't
reuse it. We check if the FBO is "complete" once, at creation time, and
setting a render target merely has to bind the right FBO and never look back.

This simplifies the code and removes a guaranteed pipeline stall when setting
a new render target.

(This code merged over from the GLES2 renderer, from changes made in
56e0d052f18938e8d9c6cfe11d87d118afc1990d.)

Fixes #16839.
2026-11-27 19:01:22 -05:00
Ryan C. Gordon 5db07ab904 opengl: Rework render targets.
Now this keeps one FBO for each SDL_TEXTUREACCESS_TARGET texture, and doesn't
reuse it. We check if the FBO is "complete" once, at creation time, and
setting a render target merely has to bind the right FBO and never look back.

This simplifies the code and removes a guaranteed pipeline stall when setting
a new render target.

(This code merged over from the GLES2 renderer, from changes made in
56e0d052f18938e8d9c6cfe11d87d118afc1990d.)

Reference Issue #16839.
2026-11-27 18:25:14 -05:00
Sam Lantinga 4773d44125 Don't fail to initialize touchscreens if we can't read the name
This happens on the Raspberry Pi with the NexDock
2026-11-27 14:15:43 -08:00
Sam Lantinga 2e082bdef1 Removed debug log in KMSDRM 2026-11-27 13:44:01 -08:00
Sam Lantinga 8ea563bce3 Use the current video mode for fullscreen desktop windows on KMSDRM 2026-11-27 13:27:49 -08:00
Frank Praznik 042af58af3 wayland: Check for keyboard focus redirection when toggling relative mode
When checking seat keyboard focus to determine if relative mode should be enabled, check if the focused window is redirecting keyboard input to a popup.
2026-11-27 15:56:48 -05:00
AngeloScipione 30d55d0809 Add support to Mad Catz V.1 Stick (#16799) 2026-11-27 09:12:17 -08:00
Sanjay Govind 11d481c151 Add identifiers for santroller devices 2026-11-27 09:11:36 -08:00
Frank Praznik 3ebae2a704 Remove the unused GLES private data struct
This is a relic from the past, and isn't used anywhere.
2026-11-25 11:15:03 -05:00
Ryan C. Gordon a01f51916e .github: Added an issue template.
This shows some helpful tips about how to submit good bugs and has a checkbox
saying something like "I promise this isn't just a wall of LLM-generated text."
2026-11-25 00:20:54 -05:00
Sam Lantinga eec85ef0cb Fixed the candidate selection index on Windows
Fixes https://github.com/libsdl-org/SDL/issues/16201
2026-11-24 16:50:00 -08:00
Maia f767d60225 Add missing include required for SDL_IOStream type 2026-11-24 16:40:57 -08:00
Sam Lantinga c189710b32 Expand the text area if it's too small for the font on Windows
Fixes https://github.com/libsdl-org/SDL/issues/16817
2026-11-24 16:22:36 -08:00
Sam Lantinga c561a675b6 Use a layered style for transparent windows on Windows
This makes sure they composite correctly and are transparent on the desktop.

Fixes https://github.com/libsdl-org/SDL/issues/15751
2026-11-24 14:40:05 -08:00
Sam Lantinga 3a6ae16993 Restore window opacity when it's recreated 2026-11-24 14:27:04 -08:00
Sam Lantinga 67d939a811 Allow SDL_WINDOW_MOUSE_PASSTHROUGH to apply to external windows 2026-11-24 14:20:01 -08:00
SDL Wiki Bot 37f49e55e5 Sync SDL3 wiki -> header
[ci skip]
2026-11-24 22:09:58 +00:00
Sam Lantinga cdb8d25212 Don't send pen and touch events to windows that pass through mouse input 2026-11-24 14:09:09 -08:00
SDL Wiki Bot 3f10848961 Sync SDL3 wiki -> header
[ci skip]
2026-11-24 21:25:59 +00:00
Sam Lantinga 2b118a9518 Added SDL_WINDOW_MOUSE_PASSTHROUGH
Also polished up SDL_SetWindowMousePassthrough()

Fixes https://github.com/libsdl-org/SDL/issues/15028
2026-11-24 13:25:34 -08:00
Evan Hemsley 9494d44ca0 GPU: Fix Vulkan defrag not respecting mip dimensions on 3D textures (#16821) 2026-11-24 12:57:46 -08:00
Ryan C. Gordon 1036672b91 README-linux: Update openSUSE package list.
Fixes #16172.
2026-11-24 15:52:12 -05:00
Frank Praznik a628c11d8d x11: Ignore DnD leave events after drops
Mutter is known to have a quirk where it sends an XdndLeave event after an XdndDrop when dragging from a Wayland to XWayland window. Ignore leave events when a drop event has already terminated the sequence.
2026-11-24 15:52:05 -05:00
Frank Praznik 8f85c64a2f x11: Log ClientMessage type when debug logging is enabled 2026-11-24 15:52:05 -05:00
Evan Hemsley ac9697abf0 GPU: return NULL when requested buffer size is less than 4 (#16819) 2026-11-24 12:40:36 -08:00
SDL Wiki Bot 7a91db127f Sync SDL3 wiki -> header
[ci skip]
2026-11-24 18:20:38 +00:00
AQtun81 99546321e4 Add click-through functionality for windows (#14561) 2026-11-24 10:20:22 -08:00