Ryan C. Gordon
85ea2bfbf0
examples: Much, much easier way to generate thumbnail and onmouseover files.
2025-09-16 12:06:12 -04:00
ManifoldFR
8bc4e029bd
gpu/vulkan : fix clear value indexing
2025-09-16 08:45:35 -07:00
Frank Praznik
03e1523eb8
wayland: Add the libdecor toplevel bounds and constraints properties
2025-09-16 11:07:27 -04:00
SDL Wiki Bot
08d84ea516
Sync SDL3 wiki -> header
...
[ci skip]
2025-09-15 20:55:52 +00:00
Merlyn Morgan-Graham
9905309c56
Update docs to describe enum result for SDL_GetCameraPermissionState
2025-09-15 16:54:33 -04:00
Sora
964bedfdd9
fix: use productCategory instead of vendorName for joy name for apple driver
2025-09-15 11:51:06 -07:00
Andrei Alexeyev
287e786120
render/gpu: fix copypaste error in render initialization
2025-09-15 10:29:04 -07:00
Ozkan Sezer
81f2f44843
SDL_endian.h: don't add _m_prefetch hack for clang-cl if available as a builtin
...
Fixes: https://github.com/libsdl-org/SDL/issues/13952 .
2025-09-15 20:04:29 +03:00
Frank Praznik
cf646af707
Clean up old-style null check
2025-09-15 10:59:36 -04:00
Eddy Jansson
21c9f5304d
wayland: Silence unused variable warning
...
'vd' and 'd' are only used if SDL_USE_LIBDBUS is set.
2025-09-15 10:26:23 -04:00
Sam Lantinga
dac6af4ba6
Only use a transparent cursor on Windows when connected via RDP
...
VMware relies on the cursor being set to NULL to optimize relative mouse motion for games.
We should also revisit whether current RDP works better with a NULL cursor or a transparent cursor.
Fixes https://github.com/libsdl-org/SDL/issues/13700
2025-09-14 17:24:40 -07:00
Sam Lantinga
cc3274b6f1
Remove Windows 32-bit ARM build from CI
...
This architecture is deprecated and is now failing with:
Windows SDK 10.0.22621.0 : 'C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um' not found or was incomplete
Fixes https://github.com/libsdl-org/SDL/issues/13949
2025-09-14 15:45:03 -07:00
Sam Lantinga
30e2fdc5a2
Sort the blacklist entry for the HP Deluxe Webcam KQ246AA
2025-09-14 15:38:47 -07:00
Nintorch
556ee00fe3
Fix HP Deluxe Webcam KQ246AA detected as joystick
2025-09-14 15:27:03 -07:00
Sam Lantinga
937b7e6aea
Fixed testprocess on 32-bit Windows
...
Previously the test would kill the child process while it was in the process of initializing (loading DLLs, etc) and this would cause the test to fail.
2025-09-14 15:09:07 -07:00
Sam Lantinga
f8bace9b9b
Remove the behavior of warping the mouse on fullscreen transitions
...
This made sense when switching between a window and an exclusive fullscreen video mode of the same dimensions, but it causes user confusion when the window changes size, and doesn't work well with Wayland. I've gotten this feedback from several sources, so we'll just go ahead and remove this behavior for now.
Fixes https://github.com/libsdl-org/SDL/issues/11577
2025-09-14 13:18:30 -07:00
Sam Lantinga
a1d3fc1f50
Clarify why we ignore EINVAL when flushing a file descriptor
2025-09-14 12:11:05 -07:00
Sam Lantinga
e40d337a47
Ignore errors flushing output on POSIX pipes
...
Fixes https://github.com/libsdl-org/SDL/issues/13116
Fixes https://github.com/libsdl-org/SDL/issues/13412
2025-09-14 12:09:16 -07:00
Sam Lantinga
0f2cb0a3f8
Fixed to match window event order
2025-09-14 11:38:09 -07:00
Sam Lantinga
402fa9434d
Updated documentation to reflect that SDL_GetHint() is thread-safe
...
This was fixed at some point, so this updates the documentation to match.
Fixes https://github.com/libsdl-org/SDL/issues/13932
2025-09-14 11:28:45 -07:00
SDL Wiki Bot
5a2faaee29
Sync SDL3 wiki -> header
...
[ci skip]
2025-09-14 17:21:15 +00:00
SDL Wiki Bot
204246c2b7
Sync SDL3 wiki -> header
...
[ci skip]
2025-09-14 17:19:42 +00:00
Sam Lantinga
29e6e07396
Note it is safe to do drawing in response to SDL_EVENT_WINDOW_EXPOSED
2025-09-14 10:19:14 -07:00
Sam Lantinga
1aba421bd3
Wait briefly after enabling effects on DualSense controller
...
The rumble motors apparently take a short time to power up after enabling enhanced mode.
Fixes https://github.com/libsdl-org/SDL/issues/13909
2025-09-14 09:59:01 -07:00
Sam Lantinga
f2bdf2a8cc
Removed unnecessary Windows version check
2025-09-14 09:01:42 -07:00
Sam Lantinga
78a29d1670
Disable Windows.Gaming.Input by default
...
The functionality is already covered by XInput and DirectInput, and Microsoft is recommending GameInput going forward.
Fixes https://github.com/libsdl-org/SDL/issues/13000
2025-09-14 08:47:52 -07:00
Sam Lantinga
ede86a1267
Fixed memory leak when using detached threads
...
Fixes https://github.com/libsdl-org/SDL/issues/13886
2025-09-14 08:42:25 -07:00
Sam Lantinga
113c7e8a58
Fixed delayed text entry for OTP codes on iOS (thanks @pipiwoaini!)
...
Fixes https://github.com/libsdl-org/SDL/issues/13717
2025-09-14 08:08:13 -07:00
Frank Praznik
4561be89a5
x11: Use the SDL_WindowFlags type instead of Uint32
...
Uint32 can potentially truncate the flag value, as it is 64 bits in SDL3.
2025-09-13 15:44:29 -04:00
Ryan C. Gordon
de1b52f161
cmake: Adjust Enabled Backends list for render drivers to catch opengles2.
...
This happens to work here because we don't have anything too complex, afaik.
Rejecting strings with underscores was crucial for other things, like video
with all its X11 variables, so this can't be applied to the other subsystems.
(Also, renaming the `SDL_VIDEO_RENDER_OGL_ES2` variable might be nice, too,
but let's keep this simple for now.)
Fixes #13938 .
2025-09-13 11:28:57 -04:00
Ryan C. Gordon
2ede37f5a3
cmake: Removed unused SDL_GPU_DXVK bits.
...
Reference Issue #13938 .
2025-09-13 11:24:55 -04:00
Cameron Cawley
bd680bdbcc
Consistently use SDL_PIXELFORMAT_RGBA32 with Emscripten
2025-09-13 07:41:33 -07:00
Sam Lantinga
c78e279d3c
Removed unneeded preprocessor guards
2025-09-13 07:22:30 -07:00
mitchellcairns
78e0ec7e0d
SInput: Version as a capabilities vehicle ( #13667 )
...
* SInput: version capabilities compression
This commit includes additions relating to SInput generic device reporting capabilities in a bit more detail, to automatically choose the best input map possible for the given device.
Thanks to Antheas Kapenekakis (git@antheas.dev ) for contributing the neat compression algorithm, this is pulled from the PR Draft here: https://github.com/libsdl-org/SDL/pull/13565
Co-authored-by: Antheas Kapenekakis <git@antheas.dev >
2025-09-13 07:21:39 -07:00
1vanK
2d1870d8b3
Used SDL_APP_CONTINUE instead 0
2025-09-13 07:13:00 -07:00
cosmonaut
9603360b7e
GPU: Allow rendering into depth texture layers and levels
2025-09-13 07:11:43 -07:00
Ryan C. Gordon
98e22213da
emscripten: Do a little better at tracking Caps/Num/Scroll Lock state.
...
Fixes #5447 .
2025-09-13 01:50:22 -04:00
SDL Wiki Bot
2ea1ea1011
Sync SDL3 wiki -> header
...
[ci skip]
2025-09-13 00:23:10 +00:00
Ryan C. Gordon
411e47ba00
docs: Remove a redundant comment.
...
(The wiki will link to this symbol, we don't have to explicitly mention it.)
2025-09-12 20:11:44 -04:00
Evan Hemsley
fe314a1b8a
GPU: Bump MAX_COLOR_TARGET_BINDINGS to 8 ( #13937 )
2025-09-12 13:04:18 -07:00
Ryan C. Gordon
1c784c453d
cmake: Report enabled subsystem backends in a compact form. ( #13926 )
...
Looks like this:
```
-- Enabled backends:
-- Video drivers: dummy kmsdrm(dynamic) offscreen wayland(dynamic) x11(dynamic)
-- X11 libraries: xcursor xdbe xfixes xinput2 xrandr xscrnsaver xshape xsync xtest
-- Render drivers: gpu ogl vulkan
-- GPU drivers: vulkan
-- Audio drivers: alsa(dynamic) disk dummy jack(dynamic) pipewire(dynamic) pulseaudio(dynamic) sndio(dynamic)
-- Joystick drivers: hidapi linux virtual
```
Fixes #7922 .
Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com >
2025-09-12 14:59:43 -04:00
Ryan C. Gordon
c78818bd4b
examples: When linking to directories, append a '/' to the URL.
...
This works without it, but generates an extra redirect on the web server to
the same a URL with the '/' appended, so we might as well supply it ourselves
and remove the extra roundtrip to the server.
2025-09-12 14:23:01 -04:00
Ryan C. Gordon
614ae1b115
emscripten: Support analog gamepad triggers on both Firefox and Chrome.
...
Fixes #13051 .
2025-09-12 14:23:01 -04:00
Sam Lantinga
3c627390bb
Updated deployment target to VisionOS 1.3
2025-09-12 10:28:44 -07:00
Anonymous Maarten
e022c60d3a
android: Remove SDL3-static from Android.mk
2025-09-12 17:37:31 +02:00
Sam Lantinga
e7784b7bf7
Set GPU properties for maximum hardware compatibility
...
Resolves https://github.com/libsdl-org/SDL/issues/13928
2025-09-11 21:30:58 -07:00
Sam Lantinga
00812d13b0
The names of keyboards and mice are valid after they've been removed
...
Fixes https://github.com/libsdl-org/SDL/issues/12816
2025-09-11 20:07:55 -07:00
Sam Lantinga
3ddc3f1146
Send events for mice and keyboards detected during initialization
...
Fixes https://github.com/libsdl-org/SDL/issues/12815
2025-09-11 20:07:55 -07:00
Ryan C. Gordon
8d5b82be2e
io: POSIX implementation tries to get status information on short reads/writes.
...
Fixes #13413 .
2025-09-11 10:11:51 -04:00
Ryan C. Gordon
4d6e0e0087
io: read_fd should only report EOF on a zero-byte return value.
...
POSIX says that's the EOF indicator, not a non-zero a short read.
2025-09-11 10:11:50 -04:00