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
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
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
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
Maia
f767d60225
Add missing include required for SDL_IOStream type
2026-11-24 16:40:57 -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
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
SDL Wiki Bot
9921ffc029
Sync SDL3 wiki -> header
...
[ci skip]
2026-11-23 17:31:26 +00:00
Ryan C. Gordon
e8a12ed5e3
docs: Add some thread safety notes to SDL_GL_CreateContext().
...
Reference Issue #16787 .
2026-11-23 12:31:08 -05:00
Ryan C. Gordon
5e7b0bd9f1
docs: Several corrections and improvements to OpenGL-related API documentaton.
...
Fixes #16787 .
2026-11-21 09:06:43 -05:00
Sam Lantinga
7d23e37d6f
Added SDL_IsGooglePlayOnPC() to detect Google Play Games on PC
...
Fixes https://github.com/libsdl-org/SDL/issues/16157
2026-11-20 17:04:10 -08:00
SDL Wiki Bot
965ef7a710
Sync SDL3 wiki -> header
...
[ci skip]
2026-11-20 17:41:23 +00:00
Sam Lantinga
d97ffdef44
Added SDL_LOGICAL_PRESENTATION_CUSTOM and SDL_SetRenderLogicalPresentationRect()
...
Fixes https://github.com/libsdl-org/SDL/issues/15911
2026-11-20 09:41:05 -08:00
Frank Praznik
803ca329e4
docs: Add a note about unknown container types in SDL_GetSandbox()
...
Note that a sandbox type of SDL_SANDBOX_UNKNOWN_CONTAINER does not necessarily imply that the container acts a security boundry.
2026-11-20 12:06:24 -05:00
SDL Wiki Bot
28736f2969
Sync SDL3 wiki -> header
...
[ci skip]
2026-11-20 16:44:57 +00:00
Frank Praznik
729748f2c5
Add a hint for controlling D-Bus portal preference
...
The screensaver inhibition and notification systems can use both a portal and non-portal interface, depending on whether the app is running in a security sandbox or not. The SDL_DBUS_PREFER_PORTALS hint allows preferring portal interfaces, even when the app is not running in a security sandbox.
2026-11-20 11:44:41 -05:00
Sam Lantinga
e21b424c76
SDL_main() isn't actually required on Android
...
SDL can also be used without SDLActivity, e.g. by an app with its own activity that uses the SDL audio and controller Java classes, so SDL_main() is available rather than required.
This also means that the main thread is set by the normal SDL startup process, which matches other platforms and the expectation of native code on Android.
Fixes https://github.com/libsdl-org/SDL/issues/15010
2026-11-19 17:10:00 -08:00
SDL Wiki Bot
4e32fb64ea
Sync SDL3 wiki -> header
...
[ci skip]
2026-11-19 22:01:34 +00:00
Ryan C. Gordon
f2262b8c5f
filesystem: Added SDL_GetCachePath().
...
Fixes #13986 .
[sdl-ci-filter *]
2026-11-19 17:00:56 -05:00
SDL Wiki Bot
a83b3e6413
Sync SDL3 wiki -> header
...
[ci skip]
2026-11-19 21:59:08 +00:00
SDL Wiki Bot
45d1a107cf
Sync SDL3 wiki -> header
...
[ci skip]
2026-11-19 21:58:54 +00:00
Sam Lantinga
b425734029
Added SDL_PROP_TEXTINPUT_KEYBOARD_MARGIN_NUMBER and SDL_HINT_TEXTINPUT_KEYBOARD_MARGIN
2026-11-19 13:58:46 -08:00
Ethan Lee
634949cf97
gpu: Copy TextureTransferInfo's D3D12 warning to UploadToGPUTexture/DownloadFromGPUTexture
2026-11-19 15:40:12 -05:00
Ryan C. Gordon
19558770e8
egl: Support EGL_EXT_swap_tearing_hint for late-swap tearing, etc.
...
Also removed FIXME about supporting EGL_EXT_swap_control_tear; that extension
was abandoned without being approved.
Fixes #16716 .
2026-11-19 10:29:42 -05:00
Ryan C. Gordon
543e3e13a3
docs: fix where GPU API docs said "first_vertex" but meant "first_offset".
...
Fixes #15475 .
2026-11-18 15:05:46 -05:00
Anonymous Maarten
4dac0a0d10
cmake: add_compile_{definitions,options} are not recommended
2026-11-18 18:47:51 +01:00
Ozkan Sezer
3f49e4aa82
updated EGL headers from Khronos.
2026-11-17 18:20:04 +03:00
SDL Wiki Bot
f8df389ee9
Sync SDL3 wiki -> header
...
[ci skip]
2026-11-16 21:16:20 +00:00
Andres Rodriguez
02922f83bb
power: document what an unresponsive fuel gague might behave
...
When running on a system with an unresponsive fuel gague, SDL returns
correct but surprising information. In this case the power state is
SDL_POWERSTATE_CHARGED and the battery life percent is 0. This matches
the current hardware state:
* An AC cable is plugged in
* Energy is not flowing to the battery, it is in a state equivalent
to a charge limit.
* If the AC cable is unplugged, the system will immediately power off.
Lets add a small comment to SDL_GetPowerInfo() to help document this
particular case.
2026-11-16 13:16:03 -08:00
Cameron Cawley
45b4d44e29
Add SDL_LoadTexture() and SDL_LoadTexture_IO()
2026-11-16 12:01:53 -08:00
Daniel Gibson
cba7130cdd
Add an invalid #define for SDL_ThreadID() to SDL_oldnames.h
2026-11-15 20:45:48 -08:00
SDL Wiki Bot
18ab08197c
Sync SDL3 wiki -> header
...
[ci skip]
2026-11-16 03:50:52 +00:00
Sascha Reuter
25c1c273bd
tvOS: add SDL_HINT_APPLE_TV_REMOTE_SWIPE_GESTURES to control swipe recognizers
...
On tvOS, SDL installs UISwipeGestureRecognizers on the view so Apple TV remote
swipes generate arrow-key events. When one recognizes, it cancels the in-progress
touches, because the recognizers don't set cancelsTouchesInView = NO. Apps that
read the remote touchpad's raw touch events directly (for example, absolute or
relative pointer control) get their touch sequence cut off mid-gesture.
Add SDL_HINT_APPLE_TV_REMOTE_SWIPE_GESTURES to gate installation of those
recognizers. Default is "1", which keeps the current behavior. Set "0" to skip
them and receive uninterrupted touch events.
2026-11-15 19:50:37 -08:00
SDL Wiki Bot
9f1a775134
Sync SDL3 wiki -> header
...
[ci skip]
2026-11-16 02:01:53 +00:00
Anonymous Maarten
9b08eb0863
Support saving 1- and 4-bit MSB indexed surfaces as BMP ( #16211 )
2026-11-15 18:01:37 -08:00
Sam Lantinga
22dbb125f7
Added missing shader formats for SDL_CreateRendererWithProperties()
...
Fixes https://github.com/libsdl-org/SDL/issues/16216
2026-11-15 17:51:50 -08:00
SDL Wiki Bot
2460f87646
Sync SDL3 wiki -> header
...
[ci skip]
2026-11-16 00:36:13 +00:00
Sam Lantinga
69f19b5af4
Clarify that transparent windows need premultiplied alpha
2026-11-15 16:33:09 -08:00
Ryan C. Gordon
fff3d3516e
thread: Added SDL_GetCurrentThreadName().
...
Fixes #15919 .
2026-11-12 14:35:18 -05:00