Eric Wasylishen
08963dc183
testdrawchessboard.c: draw a diagonal line for visually checking highdpi functionality
...
Also enable dpi awareness
2023-01-15 12:57:42 -08:00
Eric Wasylishen
67c91353e0
Handle DPI scaling in SDL_GetWindowSurface
...
Fixes DPI awareness of testdrawchessboard (previously, the surface was
being created in points instead of pixels, resulting in the demo app
only drawing in a corner of the screen on High-DPI displays)
*_CreateWindowFramebuffer()/*_UpdateWindowFramebuffer(): are updated
to use SDL_GetWindowSizeInPixels instead of SDL_GetWindowSize() or
window->w/window->h.
Most of the _CreateWindowFramebuffer backends are untested except
for Windows.
Fixes #7047
2023-01-15 12:57:42 -08:00
Anonymous Maarten
6d11515873
cmake: make sdl3.pc relocatable
2023-01-15 12:37:51 -08:00
Anonymous Maarten
0a1479d58c
cmake: fix sdl3.pc for Nintendo 3DS + add to test matrix
2023-01-15 17:46:36 +01:00
Anonymous Maarten
fc72ee5775
haiku: cast pointer to SDL_FunctionPointer
2023-01-14 15:25:22 +01:00
Sam Lantinga
8238a128c3
Fixed build on Steam Link hardware
2023-01-13 16:37:56 -08:00
Sam Lantinga
decbbb0499
Updated API for SDL_JoystickID sign change
2023-01-13 14:20:59 -08:00
Sam Lantinga
bf53183c8b
Fixed building on Raspberry Pi
2023-01-13 14:20:57 -08:00
Sam Lantinga
0ed4589ed2
Merge commit ' 0785f272fd' into main
2023-01-13 14:20:17 -08:00
Sam Lantinga
3db5ea6b80
Merge commit ' a3ae26ddd0' into main
2023-01-13 14:20:15 -08:00
Sam Lantinga
e9406686ee
Merge commit ' 67ddb4c5a2' into main
2023-01-13 14:20:12 -08:00
Sam Lantinga
0475d65635
Merge commit ' 40f0744b73' into main
2023-01-13 14:20:10 -08:00
Sam Lantinga
9a7d6b0e40
Merge commit ' 3d67b8d026' into main
2023-01-13 14:20:08 -08:00
Sam Lantinga
f6d1fe9d0e
Merge commit ' b60084eb0b' into main
2023-01-13 14:20:06 -08:00
Sam Lantinga
bfa3c0e972
Merge commit ' 180afcdf39' into main
2023-01-13 14:20:04 -08:00
Sam Lantinga
27059107c5
Merge commit ' c9647b4ad0' into main
2023-01-13 14:20:02 -08:00
Anonymous Maarten
0785f272fd
Add type argument to non-dynamic LOAD_LIBUSB_SYMBOL macro
...
It should not need a cast.
2023-01-13 19:31:18 +01:00
Anonymous Maarten
a3ae26ddd0
cmake: convert spaces in PTHREAD_CFLAGS to ';'
2023-01-13 19:02:54 +01:00
Sam Lantinga
67ddb4c5a2
Fixed PS2 build
2023-01-13 10:00:16 -08:00
Francisco Javier Trujillo Mata
40f0744b73
Use filesystem drivers
2023-01-13 09:59:46 -08:00
Anonymous Maarten
3d67b8d026
cmake: convert spaces in USB_CFLAGS to ';'
2023-01-13 18:40:49 +01:00
Anonymous Maarten
b60084eb0b
cmake: don't quote INOTIFY_INCLUDE_DIRS
2023-01-13 18:33:51 +01:00
Frank Praznik
180afcdf39
Revert "wayland: Don't try to restore non-resizable windows"
...
This reverts commit e35c3872dc .
2023-01-12 17:59:50 -08:00
Sam Lantinga
c9647b4ad0
Use the symbolic names of the audio and video driver hints
2023-01-12 17:25:15 -08:00
Sam Lantinga
76e0d6a577
Merge commit ' 23beef4fc7' into main
2023-01-12 16:21:58 -08:00
Sam Lantinga
ef9a2593ee
Merge commit ' cfe2050c04' into main
2023-01-12 16:21:56 -08:00
Sam Lantinga
7d454a4420
Merge commit ' 7c16fe6d69' into main
2023-01-12 16:21:54 -08:00
Sam Lantinga
4fc01c7a66
Merge commit ' 7516bd349c' into main
2023-01-12 16:21:52 -08:00
Sam Lantinga
d3d14ff61d
Merge commit ' 0da24479da' into main
2023-01-12 16:21:49 -08:00
Sam Lantinga
c9ea823345
Merge commit ' 99ec05e2b8' into main
2023-01-12 16:21:47 -08:00
Sam Lantinga
72408ebc2a
Merge commit ' e35c3872dc' into main
2023-01-12 16:21:45 -08:00
Sam Lantinga
d11fb83680
Merge commit ' 50f2eb7d41' into main
2023-01-12 16:21:43 -08:00
Sam Lantinga
746efe4597
Merge commit ' 8e4a39b41c' into main
2023-01-12 16:21:41 -08:00
Sam Lantinga
c02056a0b6
Merge commit ' 5f39dd8a2f' into main
2023-01-12 16:21:39 -08:00
Sam Lantinga
23beef4fc7
We no longer need explicit SDL_ENABLE_SYSWM_* while building SDL
2023-01-12 16:17:00 -08:00
Sam Lantinga
cfe2050c04
Default to enable/disable SDL_syswm subsystems based on enabled video drivers while building SDL
2023-01-12 16:17:00 -08:00
Sam Lantinga
7c16fe6d69
Default to use the built-in EGL definitions
2023-01-12 16:17:00 -08:00
Sam Lantinga
7516bd349c
Move SDL_internal.h to be first in the file, after the copyright
2023-01-12 16:17:00 -08:00
Sam Lantinga
0da24479da
Fixed building Vivante video driver
2023-01-12 16:17:00 -08:00
Sam Lantinga
99ec05e2b8
Cast the return value of SDL_LoadFunction() to the type of the function being loaded
2023-01-12 16:17:00 -08:00
Frank Praznik
e35c3872dc
wayland: Don't try to restore non-resizable windows
...
Libdecor can crash if attempting to un-maximize a window that was not set as resizable.
2023-01-12 13:34:36 -08:00
Frank Praznik
50f2eb7d41
wayland: Perform a round trip when maximizing and restoring windows
...
Perform a round trip when maximizing and restoring windows so the changes have already taken effect when the associated functions return.
2023-01-12 13:34:36 -08:00
Sam Lantinga
8e4a39b41c
Rename the xcFramework target to SDL.xcframework so it's clear when being embedded in other projects
2023-01-12 13:23:49 -08:00
Sam Lantinga
5f39dd8a2f
Always run xcFramework and disk image creation builds when requested
2023-01-12 13:08:33 -08:00
Sam Lantinga
d1694472e2
Merge commit ' 6dc50a78fc' into main
2023-01-12 12:50:41 -08:00
Sam Lantinga
986ecec436
Merge commit ' 1e8443f54e' into main
2023-01-12 12:50:39 -08:00
Sam Lantinga
31b73d822f
Merge commit ' 9eaea7d661' into main
2023-01-12 12:50:37 -08:00
Sam Lantinga
fb7d8c5493
Merge commit ' 57e78f4cf5' into main
2023-01-12 12:50:35 -08:00
Sam Lantinga
b71c3b7f67
Merge commit ' 1bf1c866fe' into main
2023-01-12 12:50:32 -08:00
Sam Lantinga
d120fd3607
Merge commit ' 3b2e9d98df' into main
2023-01-12 12:50:30 -08:00