SDL Wiki Bot
e94ba6e700
Sync SDL3 wiki -> header
...
[ci skip]
2024-11-22 03:38:20 +00:00
SDL Wiki Bot
631c30527b
Sync SDL3 wiki -> header
...
[ci skip]
2024-11-22 03:22:50 +00:00
Ryan C. Gordon
2e70944c44
gpu: Added an initial FAQ to the category documentation.
...
Fixes #11478 .
2024-11-21 19:57:14 -05:00
Eduard Gushchin
a4006e654e
Fixed typo in the name of the SDL_GetAppMetadataProperty function in the description of the SDL_SetAppMetadataProperty function
2024-11-21 05:53:06 -08:00
SDL Wiki Bot
fef001cb48
Sync SDL3 wiki -> header
...
[ci skip]
2024-11-21 04:53:43 +00:00
Ryan C. Gordon
e770b4e266
dialog: Clean up filter param documentation.
...
The apostrophe was incorrect, but the type is auto linked in the wiki anyhow,
so don't write it out ourselves.
2024-11-20 23:52:49 -05:00
SDL Wiki Bot
795ceae520
Sync SDL3 wiki -> header
...
[ci skip]
2024-11-21 04:50:57 +00:00
Ryan C. Gordon
ecae3789ab
SDL_dialog.h: Remove verbose docs on callback param from several functions.
...
In the wiki, one can click on SDL_DialogFileCallback for these details, or
grep for the symbol in the headers to find the information.
Fixes #11504 .
2024-11-20 23:46:26 -05:00
SDL Wiki Bot
d2dc0fa920
Sync SDL3 wiki -> header
...
[ci skip]
2024-11-19 02:19:43 +00:00
Sam Lantinga
d8f8cf3e99
Added SDL_HINT_JOYSTICK_HIDAPI_STEAM_HOME_LED
2024-11-18 14:50:37 -08:00
Sam Lantinga
e027b85cc4
Validate that pixel formats have the correct attributes
...
Also added a test to save and load as BMP format to make sure pixel transformations are working correctly.
Fixes https://github.com/libsdl-org/SDL/issues/11483
2024-11-17 11:58:57 -08:00
SDL Wiki Bot
572cc7af63
Sync SDL3 wiki -> header
...
[ci skip]
2024-11-16 04:44:23 +00:00
ChillerDragon
7d7ee43ddb
stdinc: document SDL_strnlen and SDL_strlen
...
See https://github.com/libsdl-org/sdlwiki/issues/635
2024-11-15 23:43:51 -05:00
SDL Wiki Bot
7c5a2cd462
Sync SDL3 wiki -> header
...
[ci skip]
2024-11-14 01:12:18 +00:00
Ryan C. Gordon
95c8a1cf7c
iostream: Update docs about return values and SDL_GetIOStatus().
...
Fixes #11395 .
2024-11-13 20:11:18 -05:00
SDL Wiki Bot
c021c75737
Sync SDL3 wiki -> header
...
[ci skip]
2024-11-14 00:30:41 +00:00
Ryan C. Gordon
d20936b544
camera: Add some category docs about camera device warmup delays.
...
Fixes #11454 .
2024-11-13 19:29:14 -05:00
SDL Wiki Bot
3877bf55a3
Sync SDL3 wiki -> header
...
[ci skip]
2024-11-13 20:44:45 +00:00
SDL Wiki Bot
c26dda10e0
Sync SDL3 wiki -> header
...
[ci skip]
2024-11-13 20:38:45 +00:00
SDL Wiki Bot
20cd4290d7
Sync SDL3 wiki -> header
...
[ci skip]
2024-11-13 04:49:12 +00:00
SDL Wiki Bot
dcf6dd19c3
Sync SDL3 wiki -> header
...
[ci skip]
2024-11-13 04:41:26 +00:00
SDL Wiki Bot
6c99a4b783
Sync SDL3 wiki -> header
...
[ci skip]
2024-11-13 04:29:53 +00:00
Evan Hemsley
119b4fa5f5
GPU: Remove D3D11 backend and allow D3D12 to ingest DXBC ( #11456 )
2024-11-12 10:55:21 -08:00
Zack Middleton
8a2cac7aaa
Fix SDL_PRIs64 to use standard PRId64
...
PRIs64 doesn't exist in C standards.
2024-11-08 12:37:14 +03:00
SDL Wiki Bot
dbe82e685d
Sync SDL3 wiki -> header
...
[ci skip]
2024-11-08 01:55:37 +00:00
Semphris
3e2ef64c98
Add SDL_SaveFile and SDL_SaveFile_IO functions
2024-11-07 17:55:02 -08:00
SDL Wiki Bot
b0140fb1b4
Sync SDL3 wiki -> header
...
[ci skip]
2024-11-08 00:35:43 +00:00
Sam Lantinga
97dac37373
Added SDL_HINT_ANDROID_LOW_LATENCY_AUDIO
2024-11-07 16:34:34 -08:00
SDL Wiki Bot
fb2145f731
Sync SDL3 wiki -> header
...
[ci skip]
2024-11-04 05:04:44 +00:00
Petar Popovic
96729e745a
SDL_GetClosestFullscreenDisplayMode(): Rename parameter `mode` to `closest`
...
Also: Check, if the parameter is NULL inside the function.
2024-11-03 21:03:44 -08:00
SDL Wiki Bot
cacfdc8cfa
Sync SDL3 wiki -> header
...
[ci skip]
2024-11-03 05:23:05 +00:00
Sam Lantinga
7031b240df
Added SDL_PROP_WINDOW_WAYLAND_VIEWPORT_POINTER
2024-11-02 22:22:29 -07:00
SDL Wiki Bot
0508f100e2
Sync SDL3 wiki -> header
...
[ci skip]
2024-11-01 22:50:16 +00:00
Sam Lantinga
927d297161
Updated to version 3.1.7 for development
2024-11-01 15:49:31 -07:00
Sam Lantinga
78cc5c1734
Updated to version 3.1.6 for the preview release
2024-11-01 14:27:01 -07:00
SDL Wiki Bot
19af3a2b34
Sync SDL3 wiki -> header
...
[ci skip]
2024-11-01 19:42:29 +00:00
SDL Wiki Bot
68cc173d92
Sync SDL3 wiki -> header
...
[ci skip]
2024-10-30 20:47:55 +00:00
expikr
7c968f1510
Update SDL_hints.h
2024-10-30 12:01:51 -07:00
expikr
e2857fc5a2
Update SDL_mouse.c
2024-10-30 12:01:51 -07:00
SDL Wiki Bot
6647345be0
Sync SDL3 wiki -> header
...
[ci skip]
2024-10-29 21:43:56 +00:00
Evan Hemsley
b4dff42dcd
GPU: Add SDL_CancelGPUCommandBuffer ( #11316 )
...
---------
Co-authored-by: Caleb Cornett <caleb.cornett@outlook.com>
2024-10-29 14:43:22 -07:00
dv-senna
149ecffd6f
SDL_vulkan.h: undefine VK_DEFINE_HANDLER and VK_DEFINE_NON_DISPATCHABLE_HANDLE
...
Allows including vulkan.hpp in user code in C++ before SDL_vulkan.h w/o errors.
Fixes: https://github.com/libsdl-org/SDL/issues/11328 .
2024-10-29 20:30:10 +03:00
Caleb Cornett
feb10434a1
Order by subsystem
2024-10-29 08:50:50 -07:00
Caleb Cornett
b2f216f9e2
Add GPU to iOS build config
2024-10-29 08:50:50 -07:00
SDL Wiki Bot
e0d019c941
Sync SDL3 wiki -> header
...
[ci skip]
2024-10-28 07:00:30 +00:00
SDL Wiki Bot
3922bcec95
Sync SDL3 wiki -> header
...
[ci skip]
2024-10-27 21:42:48 +00:00
Petar Popovic
04a478b6a9
SDL_Enumerate[Storage]Directory() comments: Use enum constant names instead of integers.
2024-10-27 14:41:33 -07:00
SDL Wiki Bot
dcd4ddb043
Sync SDL3 wiki -> header
...
[ci skip]
2024-10-24 18:38:45 +00:00
Ryan C. Gordon
10e52e1899
docs: Added more '\threadsafety` tags.
...
Reference Issue #7140 .
2024-10-24 14:37:23 -04:00
Petar Popovic
db4e2ccbac
Allow redefinition of only one macro SDL_SINT64_C SDL_UINT64_C
2024-10-24 07:37:44 -07:00
Susko3
d0cf2c19d1
Allow defining custom SDL_SINT64_C and SDL_UINT64_C macros ( #11315 )
2024-10-23 17:03:13 -07:00
Ryan C. Gordon
7108291d0b
video: Change SDL_GLattr to SDL_GLAttr.
2024-10-23 18:50:52 -04:00
Ryan C. Gordon
c0e9205a92
video: Change capitalization on various OpenGL attribute typedefs.
2024-10-23 18:50:52 -04:00
Ryan C. Gordon
3c506630c3
video: Turn several OpenGL attribute enums into integer typedefs.
...
Fixes #11308 .
2024-10-23 18:50:52 -04:00
SDL Wiki Bot
a04fda211c
Sync SDL3 wiki -> header
...
[ci skip]
2024-10-23 21:01:26 +00:00
Petar Popovic
540db0d164
Bumped version of macro 'main' to 3.1.3
2024-10-23 16:16:07 -04:00
SDL Wiki Bot
370521363a
Sync SDL3 wiki -> header
...
[ci skip]
2024-10-23 19:57:33 +00:00
SDL Wiki Bot
299587fa64
Sync SDL3 wiki -> header
...
[ci skip]
2024-10-23 19:31:40 +00:00
Petar Popovic
5e855d82e3
Manually bump versions of non-function identifiers introduced after 3.1.3 to 3.2.0
2024-10-23 11:17:46 -07:00
SDL Wiki Bot
acfc223e15
Sync SDL3 wiki -> header
...
[ci skip]
2024-10-23 16:37:46 +00:00
Evan Hemsley
423337796c
GPU Vulkan: Use dedicated allocation for download buffers ( #11298 )
2024-10-23 09:37:06 -07:00
SDL Wiki Bot
24b376ef18
Sync SDL3 wiki -> header
...
[ci skip]
2024-10-23 16:30:58 +00:00
Ryan C. Gordon
1c1706a00b
fnsince: update `\since` policy for documentation.
...
Everything in SDL3 up to the ABI lock is reported as available since 3.1.3.
Everything else will be reported as since 3.2.0 (what will be the first
official release).
Also ran a Perl script over the headers to change everything to 3.1.3 that
wasn't an API function, since fnsince.pl can't manage those. If there's a
macro or datatype that has snuck in that needs to be 3.2.0 instead, we'll
have to manually fix it up, but it shouldn't be a big deal in any case.
Reference PR #11304 .
2024-10-23 12:22:43 -04:00
SDL Wiki Bot
63ef5a2369
Sync SDL3 wiki -> header
...
[ci skip]
2024-10-23 05:42:03 +00:00
Petar Popovic
fd530d029f
Fixed typo in SDL_clipboard.h
2024-10-22 22:41:30 -07:00
SDL Wiki Bot
7b6416add0
Sync SDL3 wiki -> header
...
[ci skip]
2024-10-23 05:41:03 +00:00
Petar Popovic
af1c165352
Set version of new identifiers after 3.1.3 release to 3.1.6
2024-10-22 22:40:07 -07:00
Sam Lantinga
c134dd6e5e
Fixed typo in the channel layout documentation
2024-10-22 17:46:57 -07:00
Ryan C. Gordon
4a8eadf167
include: Fixed typo in SDL_CopyFile's documentation.
...
Fixes https://github.com/libsdl-org/sdlwiki/issues/623
2024-10-22 20:12:04 -04:00
SDL Wiki Bot
d9e6fe0b7a
Sync SDL3 wiki -> header
...
[ci skip]
2024-10-22 20:03:14 +00:00
Ryan C. Gordon
f5c27a3a2c
render: Corrected docs for SDL_SetRenderVSync().
2024-10-22 16:01:58 -04:00
SDL Wiki Bot
a42c9ec5f7
Sync SDL3 wiki -> header
...
[ci skip]
2024-10-22 17:49:11 +00:00
Ryan C. Gordon
2318961b6f
docs: Add `\threadsafety` to some low-hanging fruit across a few headers.
...
Reference Issue #7140 .
2024-10-22 13:48:35 -04:00
Ryan C. Gordon
eed11ad6d6
docs: Fixed example code for SDL_qsort_r() and SDL_bsearch_r().
2024-10-22 13:48:35 -04:00
Ryan C. Gordon
19a1175c02
include: Updated docs on SDL_TouchFingerEvent.
...
Fixes #4159 .
2024-10-22 10:41:31 -04:00
Sam Lantinga
3d47877bb4
Added SDL_EVENT_RENDER_DEVICE_LOST
...
This is sent when the device is lost and can't be recovered.
Also fixed the vulkan renderer so it returns errors appropriately and will log and break if debug mode is enabled.
2024-10-21 13:28:40 -07:00
SDL Wiki Bot
54e52d055f
Sync SDL3 wiki -> header
...
[ci skip]
2024-10-21 18:06:39 +00:00
Jordan Christiansen
9c848e08e4
docs: Explain events for already plugged in controllers ( #11286 )
2024-10-21 11:06:05 -07:00
Petar Popovic
4b54e32231
Tweak android path functions comment tag \sa
2024-10-20 16:38:07 -07:00
Petar Popovic
679dd4b181
SDL_RequestAndroidPermission() comment: Add link to android permissions website
2024-10-20 10:13:03 -04:00
SDL Wiki Bot
eb1451536e
Sync SDL3 wiki -> header
...
[ci skip]
2024-10-20 14:12:45 +00:00
Petar Popovic
5819d4b360
SDL_CreateRenderer() comment: Remove mention of flags
2024-10-20 10:12:14 -04:00
Frank Praznik
541ba33714
Fix SDL_GetClosestFullscreenDisplayMode documentation
...
It returns false on failure, not NULL.
2024-10-19 16:01:08 -04:00
SDL Wiki Bot
2668558c5c
Sync SDL3 wiki -> header
...
[ci skip]
2024-10-19 17:21:09 +00:00
Sam Lantinga
153f90a725
Revert "Use the correct return type for SDL_GetAndroidJNIEnv()"
...
This reverts commit 2d3fa03d53 .
Different JDK implementations define JNIEnv differently for C++, so we can't provide the definition here.
Fixes:
/usr/lib/jvm/temurin-11-jdk-amd64/include/jni.h:195:17: error: conflicting declaration ‘typedef struct JNIEnv_ JNIEnv’
/home/runner/work/sdlwiki/sdlwiki/.github/../external/SDL3/include/SDL3/SDL_system.h:266:24: note: previous declaration as ‘typedef struct _JNIEnv JNIEnv’
2024-10-19 10:20:50 -07:00
Maia
a48fa675be
Fix formatting
2024-10-18 13:45:04 -07:00
Sam Lantinga
1d23d2c3c2
Renamed SDL_SANDBOX_UNKNOWN to SDL_SANDBOX_UNKNOWN_CONTAINER
2024-10-18 12:45:07 -07:00
Frank Praznik
a7da3ad59b
x11: Support sorting displays via the priority hint
...
Store the connector name for displays and use it for sorting them according to priority, if the hint is set.
2024-10-18 13:09:08 -04:00
Frank Praznik
0faf9dc4a4
kmsdrm: Support sorting displays via the priority hint
...
Use the connector name for displays and sort them according to priority, if the hint is set.
2024-10-18 13:09:08 -04:00
SDL Wiki Bot
2654d5d48b
Sync SDL3 wiki -> header
...
[ci skip]
2024-10-18 02:34:29 +00:00
Sam Lantinga
e81e917c5e
Added an OpenVR video driver (thanks @cnlohr!)
2024-10-17 19:38:04 -07:00
Sam Lantinga
2d3fa03d53
Use the correct return type for SDL_GetAndroidJNIEnv()
...
This prevents application code from having to cast to JNIEnv everywhere.
2024-10-17 12:02:24 -07:00
Ivan Epifanov
6da4d94abf
VITA: implement camera subsystem
2024-10-17 10:24:17 -07:00
Daniel Ludwig
9a5420118a
Define SDL_DIALOG_DUMMY in SDL_build_config_xbox.h
2024-10-17 12:45:37 +03:00
Sam Lantinga
dd955332a2
Removed SDL_build_config_emscripten.h
...
The Emscripten build uses cmake, so we don't need the standalone config header.
Fixes https://github.com/libsdl-org/SDL/issues/11236
2024-10-16 18:16:46 -07:00
SDL Wiki Bot
c48fbbb067
Sync SDL3 wiki -> header
...
[ci skip]
2024-10-16 23:48:38 +00:00
Sam Lantinga
d6981da5a4
Added SDL_GetSandbox()
...
This adds support for detecting whether you're running in a sandbox on macOS
2024-10-16 16:47:29 -07:00
Ozkan Sezer
3ebfdb04be
SDL_stdinc.h: provide a prototype for strdup for __clang_analyzer__ case
...
Because strdup is not ANSI but POSIX, and its prototype might be hidden..
... and re-enable clang-tidy in CI for LoongArch64.
Fixes: https://github.com/libsdl-org/SDL/issues/11219 .
2024-10-16 21:50:40 +03:00
Maia
d9df87f19f
Fix syntax of trailing doc comments
2024-10-16 11:28:00 -07:00
Sam Lantinga
9cf388f260
Re-added HAVE_FDATASYNC and HAVE_GETHOSTNAME for platforms that have them.
2024-10-16 11:25:57 -07:00