Ryan C. Gordon
42e43697cf
include: Minor SDL_AppResult documentation tweak.
2024-08-17 00:42:33 -04:00
SDL Wiki Bot
4147ff6a4e
Sync SDL3 wiki -> header
2024-08-17 04:39:06 +00:00
Ryan C. Gordon
4c30e555fe
include: Clean up SDL_AppResult documentation.
2024-08-17 00:37:56 -04:00
Ryan C. Gordon
abdd8b4929
wikiheaders: generate wiki redirect pages for individual enumerators.
2024-08-16 23:45:14 -04:00
Sam Lantinga
156aab2147
Added documentation for SDL_DisplayID and SDL_WindowID for consistency.
2024-08-16 15:46:43 -07:00
SDL Wiki Bot
4fbdbbbde6
Sync SDL3 wiki -> header
2024-08-16 22:22:07 +00:00
Sam Lantinga
cb85894e94
Clarified device ID documentation
...
Fixes https://github.com/libsdl-org/SDL/issues/10558
2024-08-16 15:20:34 -07:00
ds-sloth
7d78835f87
SDL_iostream.c: stdio_seek - skip API call for SEEK_CUR with 0 offset
...
Fixes #10556 .
2024-08-16 17:13:49 -04:00
SDL Wiki Bot
ab53ff77bb
Sync SDL3 wiki -> header
2024-08-16 18:17:21 +00:00
Sam Lantinga
438a214420
Changed main callback return values to an enumeration
...
Fixes https://github.com/libsdl-org/SDL/issues/10515
2024-08-16 11:16:05 -07:00
Sam Lantinga
83adcb9d38
Added SDL_PROP_WINDOW_CREATE_FLAGS_NUMBER
...
This is undocumented since the individual flags are separate window creation properties, but it's useful to have a shared definition for this, which is used internally and for migrating code from SDL2.
2024-08-15 13:33:06 -07:00
Sam Lantinga
d7b027a241
Namespace the object creation properties
...
Fixes https://github.com/libsdl-org/SDL/issues/10543
2024-08-15 12:56:04 -07:00
Sam Lantinga
8e99ec34bb
Use drmModeAddFB() if drmModeAddFB2WithModifiers() fails
...
Fixes https://github.com/libsdl-org/SDL/issues/10276
2024-08-15 11:51:46 -07:00
Sam Lantinga
41f1c83caa
If scaling fails, fall back to the closest image available in SDL_GetSurfaceImage()
2024-08-15 07:38:43 -07:00
SDL Wiki Bot
0822d94631
Sync SDL3 wiki -> header
2024-08-15 14:29:23 +00:00
Kaktus514
3586df3151
Prefer downscaling in SDL_GetSurfaceImage.
...
This implements the ideas described in #10536
2024-08-15 07:28:31 -07:00
Anonymous Maarten
4ac5d4506b
testcamera: always render current texture
2024-08-15 09:20:34 -04:00
Anonymous Maarten
612b41c451
camera: use cdevice SDL_Event union member
2024-08-15 09:20:34 -04:00
Anonymous Maarten
f95027e3d7
sdlprocdump: skip parsed arguments
2024-08-15 12:17:52 +02:00
Qiu Qiang
d60e6e2558
testcamera: Add logging for camera FPS ( #10525 )
...
Add frequency logging in SDL_AppIterate.
Log camera specs upon approval.
2024-08-14 08:39:18 -07:00
Sam Lantinga
efdcfef4b9
Fixed Android build warnings
2024-08-13 10:52:50 -07:00
Ilya Mizus
ce98550cbb
Fixed secondary screens on KMSDRM ( #10535 )
...
* Removed window movement to left top corner that breaks secondary screens on KMSDRM
2024-08-13 07:15:12 -07:00
Frank Praznik
76b35ae76f
wayland: Minor code-style cleanups
2024-08-13 09:56:03 -04:00
Anonymous Maarten
01c42f1399
testautomation: test palettization using SDL_ConvertSurfaceAndColorspace
2024-08-13 10:56:09 +02:00
Sam Lantinga
375f303d97
Improved color accuracy blitting floating point surfaces to 8-bit indexed surfaces
2024-08-12 11:50:32 -07:00
Dragon-Baroque
e87647c351
Support SDL_EVENT_DROP_TEXT in Wayland
...
src/video/wayland/SDL_waylanddatamanager.c
Log data + primary_selection _offer_receive
src/video/wayland/SDL_waylandevents.c + SDL_waylanddatamanager.h
Log data + primary_selection events
Split FILE vs TEXT events : booleans has_mime_ text + file
Handle text/plain;charset=utf-8 data offer
2024-08-12 14:16:38 -04:00
Sam Lantinga
755e201aa5
Improved color accuracy blitting to 8-bit indexed surfaces
...
Fixes https://github.com/libsdl-org/SDL/issues/10519
2024-08-12 09:22:59 -07:00
Sam Lantinga
1a729251ad
Added references to SDL_GetPixelFormatDetails() from the SDL_*RGB functions
2024-08-12 09:22:59 -07:00
Ryan C. Gordon
871d0074d2
SDL_GLattr: Added some documentation from SDL2.
2024-08-12 01:33:05 -04:00
Ryan C. Gordon
67e0156346
pen: Fixed a comment about Web APIs.
...
(Emscripten has nothing to do with this limitation, as this is what the
Javascript Pointer Events API offers.)
2024-08-12 00:58:27 -04:00
Ryan C. Gordon
3d3f611965
examples: Fixed web build.
2024-08-12 00:46:42 -04:00
Anonymous Maarten
b9ad5fc589
ci: build tvOs/iOs CMake project
2024-08-12 06:44:35 +02:00
Ryan C. Gordon
6140f567ba
examples: added a basic pen example.
2024-08-12 00:25:10 -04:00
Ryan C. Gordon
b975babfa5
pen: Emscripten support!
...
Reference Issue #10516 .
2024-08-11 18:00:13 -04:00
Ryan C. Gordon
bec701dd04
pen: Add support for tangential pressure axis.
2024-08-11 18:00:13 -04:00
Anonymous Maarten
dc67a51782
sdlprocdump: fix clang -Wincompatible-pointer-types warning
2024-08-11 21:23:57 +02:00
Anonymous Maarten
35b61f70da
sdlprocdump: add option to print debug stream
2024-08-11 21:00:08 +02:00
Mathieu Eyraud
5de3d1e9cc
Fix error handling of SDL_AddHintCallback
2024-08-11 06:59:10 -07:00
Mathieu Eyraud
45bfa8e5e7
Fix xsettings list copy
...
If there is only 1 element in the list or memory allocation fails on the 2nd iteration then new->next is uninitialised.
2024-08-11 06:58:03 -07:00
Mathieu Eyraud
dcc3dd4c7c
Remove stray return statement
2024-08-11 06:57:01 -07:00
Sam Lantinga
15a19bd69f
Convert bitmap surface to RGBA for scaling
...
Scaling bitmaps isn't currently supported, so we convert to RGBA for now.
2024-08-10 16:43:27 -07:00
Ozkan Sezer
f93920a4f1
video, x11: fix linkage if SDL_VIDEO_DRIVER_X11_XINPUT2 isn't defined.
2024-08-10 15:55:00 +03:00
Anthony
8a6fd058b4
Update proguard-rules.pro in line with recent changes
...
Also sort methods and add a note about preserving unused native method nativeGetHint.
2024-08-09 19:18:29 -07:00
SDL Wiki Bot
a7fa375275
Sync SDL3 wiki -> header
2024-08-10 02:09:54 +00:00
Ryan C. Gordon
b4ca15b654
pen: Added Cocoa backend.
2024-08-09 22:09:23 -04:00
Ryan C. Gordon
a9d70dbacb
pen: Rework public API.
...
This changes the API in various ways, and updates the backends for this.
Overall, this is a massive simplification of the API, as most future backends
can't support the previously-offered API.
This also removes the testautomation pen code (not only did these interfaces
change completely, it also did something no other test did: mock the internal
API), and replaces testpen.c with a different implementation (the existing
code was fine, it was just easier to start from scratch than update it).
2024-08-09 22:09:23 -04:00
Sam Lantinga
2b853121fe
Allow environment hint overrides before hints are initialized
...
Fixes https://github.com/libsdl-org/SDL/issues/10514
2024-08-09 13:26:49 -07:00
SDL Wiki Bot
78b1e0e299
Sync SDL3 wiki -> header
2024-08-09 16:57:18 +00:00
Sam Lantinga
c2085dad8f
Added SDL_HINT_JOYSTICK_GAMEINPUT
2024-08-09 09:56:47 -07:00
Sam Lantinga
0acf8343bb
Fixed crash if pipewire doesn't detect any devices and doesn't end up being used.
...
Fixes https://github.com/libsdl-org/SDL/issues/10511
2024-08-09 08:08:32 -07:00