SDL Wiki Bot
0a592b78c1
Sync SDL3 wiki -> header
...
[ci skip]
2025-02-24 23:12:58 +00:00
Tomasz Pakuła
58388e8db4
Add SDL_HINT_JOYSTICK_HAPTIC_AXES
...
Allows users to overwrite the number of haptic axes defined for a given
joystick. Also supports a "wildcard" VID:PID of `0xFFFF/0xFFFF`
2025-02-24 15:12:04 -08:00
Caleb Cornett
60b7faa987
gpu: Validate that reserved struct members are unset
2025-02-24 08:57:09 -08:00
SDL Wiki Bot
deadfe0c98
Sync SDL3 wiki -> header
...
[ci skip]
2025-02-23 20:20:09 +00:00
Caleb Cornett
ea77472d75
Document/ignore GPU features without universal support
2025-02-23 12:19:12 -08:00
Timothee "TTimo" Besset
fa380a4004
Update include/SDL3/SDL_assert.h
...
Co-authored-by: Sam Lantinga <slouken@libsdl.org>
2025-02-21 11:07:54 -08:00
Timothee "TTimo" Besset
2a1b617fb2
Update include/SDL3/SDL_assert.h
...
Co-authored-by: Sam Lantinga <slouken@libsdl.org>
2025-02-21 11:07:54 -08:00
Timothee 'TTimo' Besset
69e03094bd
fallback to defining SDL_TriggerBreakpoint as __builtin_trap in older linux arm64 environments that do not have a __has_builtin facility
2025-02-21 11:07:54 -08:00
SDL Wiki Bot
52ee0c1058
Sync SDL3 wiki -> header
...
[ci skip]
2025-02-20 20:17:22 +00:00
Sam Lantinga
06602f4e80
Document that the pitch is the length of the image data for SDL_PIXELFORMAT_MJPG
2025-02-20 12:16:26 -08:00
SDL Wiki Bot
dea99e54fd
Sync SDL3 wiki -> header
...
[ci skip]
2025-02-16 17:44:58 +00:00
SDL Wiki Bot
ba45256940
Sync SDL3 wiki -> header
...
[ci skip]
2025-02-15 17:42:27 +00:00
SDL Wiki Bot
cedf53bbc2
Sync SDL3 wiki -> header
...
[ci skip]
2025-02-13 05:39:38 +00:00
Sam Lantinga
3de975884a
Document the "trace" log priority
2025-02-12 21:37:30 -08:00
SDL Wiki Bot
041894a523
Sync SDL3 wiki -> header
...
[ci skip]
2025-02-13 01:45:34 +00:00
Sam Lantinga
99cf16287a
Fixed the name of SDL_SYSWMEVENT
2025-02-11 09:48:40 -08:00
Sam Lantinga
84b0c13c44
Added support for Motion JPEG camera capture
...
Fixes https://github.com/libsdl-org/SDL/issues/12183
2025-02-10 17:18:16 -08:00
SDL Wiki Bot
b63d3afc18
Sync SDL3 wiki -> header
...
[ci skip]
2025-02-10 20:15:51 +00:00
Sam Lantinga
0bc1f87120
Added SDL_PROP_SURFACE_HOTSPOT_X_NUMBER and SDL_PROP_SURFACE_HOTSPOT_Y_NUMBER
2025-02-10 12:15:03 -08:00
SDL Wiki Bot
7af17f874c
Sync SDL3 wiki -> header
...
[ci skip]
2025-02-07 02:00:45 +00:00
Sam Lantinga
982094c85c
Updated to version 3.2.5 for development
2025-02-06 16:40:59 -08:00
Sam Lantinga
b5c3eab6b4
Updated to version 3.2.4 for release
2025-02-06 16:03:43 -08:00
SDL Wiki Bot
3c6e6645fa
Sync SDL3 wiki -> header
...
[ci skip]
2025-02-06 22:54:21 +00:00
SDL Wiki Bot
6cb3d37a2b
Sync SDL3 wiki -> header
...
[ci skip]
2025-02-06 20:11:12 +00:00
Petar Popovic
80653a42c7
Remove non-ASCII character from public header SDL_hints.h
2025-02-06 12:10:16 -08:00
Sam Lantinga
a646dc89e5
Note that SDL_GUIDToString() and SDL_StringToGUID() are thread-safe.
2025-02-06 10:44:21 -08:00
SDL Wiki Bot
5ad0337685
Sync SDL3 wiki -> header
...
[ci skip]
2025-02-05 15:45:41 +00:00
Petar Popovic
68dabd48c4
SDL_GetTrayEntries(): Rename parameter `size` to `count`
2025-02-05 07:44:46 -08:00
Cameron Cawley
691a6133d3
Remove #undef __3DS__
2025-02-04 13:57:41 -08:00
Petar Popovic
f1b3523c67
Remove redundant parenthesis in SDL_MUSTLOCK macro
2025-02-03 19:47:16 -08:00
Petar Popovic
8527d042bc
Remove const from parameter of inline function SDL_RectsEqualEpsilon()
2025-02-03 19:46:36 -08:00
Petar Popovic
8ccf85c59e
Formatting spaces around pointer symbol.
2025-02-03 17:03:26 -08:00
SDL Wiki Bot
ec959a4349
Sync SDL3 wiki -> header
...
[ci skip]
2025-02-03 16:52:24 +00:00
Sam Lantinga
8e51b2468a
Renamed SDL_SoftStretch() to SDL_StretchSurface()
...
Fixes https://github.com/libsdl-org/SDL/issues/12168
2025-02-03 08:51:32 -08:00
SDL Wiki Bot
f40ef62a2a
Sync SDL3 wiki -> header
...
[ci skip]
2025-02-02 23:14:17 +00:00
SDL Wiki Bot
614ae843a9
Sync SDL3 wiki -> header
...
[ci skip]
2025-02-02 22:14:15 +00:00
Sam Lantinga
8848f86560
Corrected the version where SDL_SoftStretch() was added
2025-02-02 14:13:13 -08:00
Sam Lantinga
a98a4b8a68
Re-added SDL_SoftStretch() to the API
...
This is needed for sdl2-compat, since a blit is not quite equivalent.
2025-02-02 13:41:36 -08:00
SDL Wiki Bot
842f85da05
Sync SDL3 wiki -> header
...
[ci skip]
2025-02-02 21:17:22 +00:00
Sam Lantinga
be991239d9
Updated to version 3.2.3 for development
2025-02-01 17:43:38 -08:00
Sam Lantinga
2fa1e7258a
Updated to version 3.2.2 for release
2025-02-01 17:01:45 -08:00
SDL Wiki Bot
fe6bd8e9bf
Sync SDL3 wiki -> header
...
[ci skip]
2025-02-01 10:40:21 +00:00
SDL Wiki Bot
43924ec873
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-31 01:04:48 +00:00
SDL Wiki Bot
8c2682a219
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-31 00:56:29 +00:00
SDL Wiki Bot
50b8c6cdfb
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-30 19:31:13 +00:00
Petar Popovic
31364477f2
Rename parameter of type SDL_CameraID from devid to instance_id
2025-01-29 17:49:53 -08:00
Petar Popovic
36758d70c9
Rename parameters of type SDL_AudioDeviceID from dev to devid
2025-01-29 14:44:08 -08:00
SDL Wiki Bot
11dbff246f
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-28 19:01:16 +00:00
mausimus
725ee7665c
Documentation: fixed typos around floats precision
2025-01-27 14:12:24 -05:00
SDL Wiki Bot
fa8c0f0552
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-26 03:57:15 +00:00
SDL Wiki Bot
17c4bdd754
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-24 21:19:18 +00:00
SDL Wiki Bot
ad8a09000f
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-24 20:06:31 +00:00
cosmonaut
8df17c97d1
GPU: Add notes about shader resource requirements to documentation
2025-01-24 12:04:00 -08:00
SDL Wiki Bot
84c4ff2f10
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-24 04:47:03 +00:00
SDL Wiki Bot
129ebc77b9
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-23 23:20:22 +00:00
nightmareci
a437dbc7e3
Improve log documentation
2025-01-22 10:37:54 -08:00
SDL Wiki Bot
1c21a72bda
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-22 17:20:25 +00:00
SDL Wiki Bot
df3cfbc797
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-21 23:08:39 +00:00
cosmonaut
799093799a
GPU: Note buffer alignment requirements
2025-01-21 15:07:34 -08:00
SDL Wiki Bot
5bf077f1f1
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-21 23:04:33 +00:00
SDL Wiki Bot
5d6a780453
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-21 23:00:08 +00:00
Sam Lantinga
77b520e93e
Updated to version 3.2.1 for development
2025-01-21 14:02:06 -08:00
Sam Lantinga
ed2920afef
All SDL 3.0 release symbols are at version 3.2.0
2025-01-21 10:19:21 -08:00
Ryan C. Gordon
7a5604cf0c
Sync SDL3 wiki -> headers.
2025-01-21 13:12:25 -05:00
Sam Lantinga
a52fc209bb
Updated to version 3.2.0 for release
2025-01-21 08:52:28 -08:00
SDL Wiki Bot
f16c67115d
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-21 16:29:55 +00:00
Ryan C. Gordon
c45c4a5e51
render: SDL_HINT_RENDER_DRIVER now accepts a comma-separated list.
...
Fixes #11077 .
2025-01-21 11:29:00 -05:00
SDL Wiki Bot
670a7d8126
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-21 16:11:20 +00:00
Frank Praznik
8a67896d9a
docs: Note the preferred function for getting the content scale of a window
...
SDL_GetWindowDisplayScale() should be preferred over SDL_GetDisplayForWindow() + SDL_GetDisplayContentScale() for querying the per-window content scale, as the former provides a more accurate and current value for individual windows, as the per-window value can differ from the base display scale value, particularly on high-DPI and multi-monitor desktops.
2025-01-21 11:07:11 -05:00
SDL Wiki Bot
ea9880b760
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-21 04:01:28 +00:00
Quinn X. J.
bcf7ead6e4
documentation typo: SFLOAT -> FLOAT
2025-01-20 20:00:40 -08:00
Caleb Cornett
abe6d9db97
Automatically detect SDL_main_private.h
2025-01-20 20:48:17 -05:00
Tomasz Pakuła
c6c7469708
Translate conditional effect direction instead of hardcoding it to 0
...
Provious code wrongly assumed that direction is not an important part
of conditional effect. Moreover, if there's need to hardcode polar
direction, the default should be 0x4000 (north).
For one axis affects, a direction of 0 means complete lack of force, if
a FFB-enabled device takes direction into force calculation. A sine function
graph can be used to represent the resulting forces where X is the input
direction and Y is the force multiplier (360 degrees equals to 1).
This fixes conditional effect playback on Moza Racing devices, which do
not ignore direction field.
2025-01-20 16:52:40 -08:00
Ryan C. Gordon
90b2e2527e
include: Added a tiny bit to SDL_sensor.h's category documentation.
...
Reference Issue #11847 .
2025-01-20 01:39:37 -05:00
Ryan C. Gordon
2be749b23b
include: More category documentation.
...
Reference Issue #11847 .
2025-01-20 01:37:25 -05:00
Ryan C. Gordon
d5766bc4b8
include: More category documentation.
...
Reference Issue #11847 .
2025-01-20 01:02:30 -05:00
Ryan C. Gordon
b809da52fd
assert: Try using __builtin_trap() for SDL_TriggerBreakpoint().
...
This was necessary on an arm64 install of Raspberry Pi OS.
2025-01-20 01:02:30 -05:00
SDL Wiki Bot
c4c0bfdfb1
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-20 04:34:56 +00:00
William Hou
7133969e3a
Feature add hint to remap option as alt key ( #12021 )
2025-01-19 20:34:04 -08:00
SDL Wiki Bot
53a5350292
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-20 02:54:44 +00:00
Sam Lantinga
5f2dd5f04e
tray: fixed multi-threading issues with GTk implementation
...
GTK+ documentation states that all GDK and GTK+ calls should be made from the main thread.
Fixes https://github.com/libsdl-org/SDL/issues/11984
2025-01-19 18:53:55 -08:00
Sam Lantinga
dfdc120268
tray: document thread-safety
2025-01-19 18:53:55 -08:00
SDL Wiki Bot
78023500fa
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-19 23:59:37 +00:00
Ryan C. Gordon
34c12d0db8
include: Add category documentation to SDL_timer.h.
...
Reference Issue #11847 .
2025-01-19 12:19:30 -05:00
SDL Wiki Bot
b088e89191
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-19 17:12:43 +00:00
Ryan C. Gordon
0851322fb1
include: Add category documentation to SDL_power.h.
...
Reference Issue #11847 .
2025-01-19 12:11:49 -05:00
SDL Wiki Bot
e054f3c085
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-18 15:12:47 +00:00
Ryan C. Gordon
75317dae59
include: Added category docs for SDL_mouse.h
...
Reference Issue #11847 .
2025-01-18 10:11:53 -05:00
Sam Lantinga
923123a527
emscripten: Let SDL_HINT_EMSCRIPTEN_KEYBOARD_ELEMENT accept "#none"
...
This is used to say "don't even try to listen for keypresses," for apps that
are managing this outside of SDL.
Fixes #10292 .
2025-01-18 06:19:27 -08:00
Ryan C. Gordon
6a72d32d41
emscripten: Let SDL_HINT_EMSCRIPTEN_KEYBOARD_ELEMENT accept "".
...
This is used to say "don't even try to listen for keypresses," for apps that
are managing this outside of SDL.
Fixes #10292 .
2025-01-18 08:43:55 -05:00
Ryan C. Gordon
010f27dc70
storage: enumerate and glob on storage can accept a NULL path.
...
This will be treated as the root of the storage tree.
2025-01-17 20:11:50 -05:00
Ryan C. Gordon
feeea6a776
Sync SDL3 wiki -> headers.
2025-01-17 18:42:04 -05:00
SDL Wiki Bot
d2fc394a2a
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-17 23:11:30 +00:00
SDL Wiki Bot
ee469c6aff
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-17 22:26:32 +00:00
cosmonaut
d4d22dd8de
GPU: Add remarks about point topology
2025-01-17 14:25:14 -08:00
SDL Wiki Bot
9ed96f392d
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-17 19:46:20 +00:00
Sam Lantinga
ae8df1dcbd
Note that the primary monitor isn't always at 0,0
2025-01-17 11:52:33 -08:00
SDL Wiki Bot
07a5c144c6
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-16 19:43:08 +00:00
Sam Lantinga
eb168e410c
Updated to version 3.1.11 for development
2025-01-16 11:41:28 -08:00
SDL Wiki Bot
274bc95dfd
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-16 18:29:57 +00:00