Commit Graph

22474 Commits

Author SHA1 Message Date
Sam Lantinga
4601c46a68 Rebuilt test shader headers 2026-08-23 10:08:59 -07:00
momoko-h
902484f65c Update testgpurender_effects_grayscale.frag.hlsl
The formular did not use blue at all but red twice and the factor intended for blue was off.
2026-08-23 10:02:00 -07:00
Sam Lantinga
38aace9359 Fixed typo 2026-08-22 11:49:58 -07:00
Jaan Soulier
a2b27528db fix SDL_gpu_vulkan validation warning 2026-08-22 08:43:21 -07:00
Sam Clegg
f0b84476f9 [emscripten] Use keyEvent->key instead of deprecated charCode
keyEvent->charCode is deprecated in DOM Level 3 and marked deprecated
in Emscripten's html5.h. Use keyEvent->key instead.
2026-08-22 07:33:14 -07:00
Anonymous Maarten
a0db66a718 cmake: add FFmpeg components as argument to find_package 2026-08-21 17:50:43 +02:00
Sam Lantinga
98ee449d6a Updated the link for lock free algorithms
Closes https://github.com/libsdl-org/sdlwiki/pull/982
2026-08-21 08:46:45 -07:00
Anonymous Maarten
eda0859c8b cpu is always SDL_CPU_ANY in SDL_GeneratedBlitFuncTable 2026-08-21 08:14:13 -07:00
Anonymous Maarten
36b7ce3b4e The spinning cube GPU example triggers a few parameter validation errors for an offscreen renderer 2026-08-21 07:44:30 -07:00
Anonymous Maarten
1b8c9dc477 Support numeric keypad in bytepusher example 2026-08-21 07:44:30 -07:00
Anonymous Maarten
b30cda60c1 Make interactive tests work on SDL3 built with disabled param checking (or assert on invalid) 2026-08-21 07:44:30 -07:00
SDL Wiki Bot
573862505d Sync SDL3 wiki -> header
[ci skip]
2026-08-21 14:27:01 +00:00
Sam Lantinga
0e6af9f4c6 Clarify that gamepad sensors are disabled by default 2026-08-21 07:24:41 -07:00
Anonymous Maarten
80ad29564c ci: vita's lame does not declare mpg123 dependency, so disable testffmpeg
[sdl-ci-filter *vita*]
2026-08-21 02:54:49 +02:00
Anonymous Maarten
d15e373576 ci: vitasdk/vitasdk Docker container switched from Alpine to Ubuntu
See 960c16ac23

[sdl-ci-filter *vita*]
2026-08-21 02:43:07 +02:00
Anonymous Maarten
9901fa42d4 Fix GDK download url
[sdl-ci-filter msvc-gdk-x64]
2026-08-21 01:29:21 +02:00
SDL Wiki Bot
f170b33f16 Sync SDL3 wiki -> header
[ci skip]
2026-08-20 22:42:09 +00:00
SDL Wiki Bot
8e8596b91a Sync SDL3 wiki -> header
[ci skip]
2026-08-20 22:25:10 +00:00
SDL Wiki Bot
f95af3d8e6 Sync SDL3 wiki -> header
[ci skip]
2026-08-20 19:47:08 +00:00
Ryan C. Gordon
8e22e4f916 wikiheaders: Report full path when dying for a doubly-defined section.
(cherry picked from commit 1d4b0337ac)
2026-08-20 15:26:25 -04:00
SDL Wiki Bot
80524ec40e Sync SDL3 wiki -> header
[ci skip]
2026-08-20 18:43:35 +00:00
SDL Wiki Bot
21e63449a4 Sync SDL3 wiki -> header
[ci skip]
2026-08-20 16:21:05 +00:00
Cameron Cawley
dca1503f00 examples: Disable quitting with the escape key in Emscripten builds 2026-08-20 08:18:29 -07:00
Cameron Cawley
741668ab12 examples/woodeneye: Use position independant key codes for keyboard input 2026-08-20 08:18:29 -07:00
Cameron Cawley
f78bdbd96c examples/snake: Use position dependant key codes for keyboard input 2026-08-20 08:18:29 -07:00
SDL Wiki Bot
1a17b7aaf9 Sync SDL3 wiki -> header
[ci skip]
2026-08-20 15:13:33 +00:00
SDL Wiki Bot
233cc9ce6a Sync SDL3 wiki -> header
[ci skip]
2026-08-20 15:05:54 +00:00
Cameron Cawley
199770a1ec n3ds: Fix joystick hat input 2026-08-20 08:03:09 -07:00
muzikbike
2ca12ab2cf Separate KEY_KPJPCOMMA from KEY_MUHENKAN
Both were mapped to "International 5", but this seems wrong
2026-08-20 08:02:09 -07:00
Cameron Cawley
6f3d0c1337 Include transparency information for icon.png in the image data 2026-08-20 07:57:18 -07:00
Ryan C. Gordon
e4c41d393b events: Note that SDL_PenProximityEvent::pen_state was added for 3.4.16. 2026-08-18 21:01:53 -04:00
Ryan C. Gordon
c5491474de pen: If a pen leaves proximity, force all its pressed buttons to released.
Some platforms do this for us, but just in case there is a badly-behaved one,
this will help keep application state correct.

Reference Issue #16125.
2026-08-18 16:08:21 -04:00
Ryan C. Gordon
3bdb7d00d5 pen: Report SDL_PenInputFlags in SDL_PenProximityEvent.
Fixes #16125.
2026-08-18 16:07:51 -04:00
Caleb Cornett
f2c4ef111d gdk: Update to GDK April 2026 Update 3 (#16134) 2026-08-18 10:51:48 -04:00
Caleb Cornett
c80d68fde5 gdk: Send window resize events on Xbox (#16158) 2026-08-16 12:12:09 -04:00
Christmas-Missionary
11a9d3212e SDL_VideoQuit to SDL_QuitVideo
- Refers to SDL3 internal function, NOT SDL2 public function
2026-08-15 01:30:12 -04:00
Christmas-Missionary
23401052e5 SDL_CameraInit to SDL_InitCamera 2026-08-15 01:30:12 -04:00
Christmas-Missionary
19758eb15d SDL_VideoInit to SDL_InitVideo
- Refers to SDL3 internal function, NOT SDL2 public function
- FIXME comment is removed as naming convention is established
2026-08-15 01:30:12 -04:00
Jamibaraki
b669ac244e fixes incorrect comment in viewport example 2026-08-14 21:21:39 -04:00
Caleb Cornett
d4440c0446 test: Fix MSAA support in testgpu_spinning_cube 2026-08-14 16:45:55 -04:00
Ryan C. Gordon
0fb1177405 Manually sync wiki -> headers.
Trying to coerce SDLWikiBot to stop eating changes.
2026-08-11 09:41:55 -04:00
SDL Wiki Bot
d5424685a9 Sync SDL3 wiki -> header
[ci skip]
2026-08-11 13:15:49 +00:00
SDL Wiki Bot
767459e4cd Sync SDL3 wiki -> header
[ci skip]
2026-08-11 05:04:02 +00:00
Revincx
b640b804a8 evdev: Fix vertical high-resolution mouse wheel scaling
This commit fixes a regression introduced by c44fa5bb

The evdev backend currently uses high_res_hwheel to select the
normalization denominator for both horizontal and vertical wheel
events.

This causes devices which advertise REL_WHEEL_HI_RES but not
REL_HWHEEL_HI_RES to report vertical wheel movement 120 times
larger than intended.

Use the corresponding high-resolution capability independently for
each axis, restoring the behavior before c44fa5bb.
2026-08-10 09:08:21 -07:00
xentripetal
b340ddcd7b metal: Fix inverted return value in METAL_QueryFence
SDL_QueryGPUFence is documented to return true when the fence is signaled (complete). Since 514b26e it returns METAL_INTERNAL_IsFenceBusy directly, so it returns true when the fence is still busy, breaking usage of SDL_AcquireGPUSwapchainTexture.
2026-08-09 11:59:42 -07:00
Anonymous Maarten
616b8fb338 examples/woodeneye: Display correct splitview for 4 players 2026-08-07 21:13:04 +02: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
Sawkez
700cf42a9d Haiku: Fix incorrect version macro in SDL_SYS_OpenURL 2026-08-06 10:35:15 -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