Ryan C. Gordon
bedc509afc
gamecontrollerdb: added entry for PowerA XBox One Controller for Linux.
...
Fixes #3910 .
2021-05-10 13:04:59 -04:00
Ethan Lee
efbb6ff9d7
wayland: Create the server decorations after the toplevel has been configured
2021-05-10 12:49:26 -04:00
Ryan C. Gordon
9dc97afa71
cocoa: Report an error if SDL_SetClipboardText() isn't using UTF-8 encoding.
...
Fixes #4110 .
2021-05-08 12:39:50 -04:00
Sam Lantinga
107db2d899
Enable TV game mode by default on Android
2021-05-07 12:43:35 -07:00
Sam Lantinga
9231f1f1cf
Added support for the PS5 controller on iOS and tvOS
2021-05-07 12:29:03 -07:00
Sam Lantinga
2ad73db6e2
Merge commit '889cebb7c20d4195e5d4ac344a2175f2490354cc' into main
2021-05-07 12:28:57 -07:00
Sam Lantinga
e589810cc4
Merge commit '31637ddeea1e302c77193341b2006d45dc54de98' into main
2021-05-07 12:28:55 -07:00
Sam Lantinga
6d4991b87b
Merge commit 'f309d0649d37022ad49bc468c77dd87bf82f261b' into main
2021-05-07 12:28:53 -07:00
Sam Lantinga
e8eb0b15fe
Merge commit '58884e4c1bb455db90a35df3f7480cfd355eb8c6' into main
2021-05-07 12:28:51 -07:00
Sam Lantinga
19a9e81c32
Merge commit 'c69fde348fafcb90200a148b711137c464ffa7de' into main
2021-05-07 12:28:50 -07:00
Sam Lantinga
71e45a0b9d
Merge commit '006378b9213e3e04ea2b9c591afe2a44e75e6867' into main
2021-05-07 12:28:48 -07:00
Sam Lantinga
981532fbd2
Merge commit '424bbaec069f0d94857095dcdfacba6246282936' into main
2021-05-07 12:28:47 -07:00
Sam Lantinga
95b7b879ee
Merge commit '20928550350d4d4c5d78f98b61e7e08d219a5475' into main
2021-05-07 12:28:45 -07:00
Sam Lantinga
8b8956daa7
Merge commit '3d47ddc422de1a4209525a759b3bc46a4ac69116' into main
2021-05-07 12:28:43 -07:00
Sam Lantinga
069a68a5c5
Merge commit '7b284dbb34a8c34f5d6f79c58c860c9f7894fd56' into main
2021-05-07 12:28:42 -07:00
Sam Lantinga
12b7b82169
Merge commit '9161f95166f3d8e42248c1156e35255d4ebdc6a0' into main
2021-05-07 12:28:40 -07:00
Sam Lantinga
2b203add29
Merge commit 'c54c16d353f206162cdbb125c0847b4645e096a3' into main
2021-05-07 12:28:38 -07:00
Sam Lantinga
1e208c6418
Merge commit '227021b6470d07f86e209d89f176ec8e6d952a17' into main
2021-05-07 12:28:37 -07:00
Sam Lantinga
f1fa836b2e
Merge commit '13472cec6764aec2e06a3c66ec1b139baa680aa3' into main
2021-05-07 12:28:35 -07:00
Sam Lantinga
cf1e850303
Merge commit 'a74f888ff9ed1254e9b9965a27d68e0526e2c0f8' into main
2021-05-07 12:28:33 -07:00
Sam Lantinga
63015e44c7
Merge commit '8ac0fb52cb13e5856aa7f4a3fd0598d3ec58283f' into main
2021-05-07 12:28:32 -07:00
Sam Lantinga
0ebf56b5f1
Merge commit '1f3df900f919e7177e480e63c07447db232564a1' into main
2021-05-07 12:28:30 -07:00
Sam Lantinga
5a95ff8002
Merge commit 'fcbf19b764a9f6fed1db6a1d79a2f2f3fa1338d6' into main
2021-05-07 12:28:28 -07:00
Sam Lantinga
572dfb4f6e
Merge commit 'c93e3b36074ddb2ed986cbacc5e9d4f3a60db343' into main
2021-05-07 12:28:27 -07:00
Sam Lantinga
a734ccec9a
Merge commit 'b62642974595976a0c47c5b854eea51b2703fbeb' into main
2021-05-07 12:28:25 -07:00
Sam Lantinga
4c7f8a7497
Merge commit 'f8695185331460106f34286ebe466cb605f85bb6' into main
2021-05-07 12:28:23 -07:00
Sam Lantinga
9cf1b39162
Merge commit '21349901ea250483600cbe4771d865cc06f6b538' into main
2021-05-07 12:28:22 -07:00
Henk Kalkwater
889cebb7c2
Wayland touch inputs send normalized coords
...
Resolves #4361
2021-05-05 15:20:42 -07:00
Nicolas Caramelli
31637ddeea
Generic check for desktop GL and EGL on Linux systems
2021-05-05 15:19:55 -07:00
Ethan Lee
f309d0649d
include: Document timing issue with SDL_GetWindowBordersSize
2021-05-04 13:16:13 -04:00
Ozkan Sezer
58884e4c1b
SDL_audiocvt.c: fixed MSVC double->float conversion warnings.
2021-05-04 00:23:40 +03:00
Ethan Lee
c69fde348f
wayland: Maximize/Restore should set the relevant window flags.
...
Also, Maximize should be ignored for fixed-size windows.
2021-05-02 19:03:32 -04:00
Christian Rauch
006378b921
fix NULL frame_callback access
2021-05-02 14:07:40 -04:00
Christian Rauch
424bbaec06
wayland: destroy frame callback when window is destroyed
2021-05-01 14:19:25 -04:00
Ethan Lee
2092855035
wayland: Guard surface_frame_listener for OpenGL, document why it exists
2021-05-01 13:27:12 -04:00
Ethan Lee
3d47ddc422
wayland: Use refresh_rate to calculate max_wait in SwapWindow
2021-05-01 13:27:12 -04:00
Sylvain
7b284dbb34
EglChooseConfig: choose an accelerated configuration
...
- especially because we can be promoted to true color 888
make sure we don't select a potentially software implementation
- hopefully fix bug #1482 (EGL ChooseConfig selects software renderer on Android)
2021-04-30 22:01:48 +02:00
Ethan Lee
9161f95166
egl: Reject attempts to set negative swap intervals
2021-04-30 13:24:01 -04:00
Ryan C. Gordon
c54c16d353
wayland: don't hang in SDL_GL_SwapBuffers if the compositor is ghosting us.
...
If you hide a window on Mutter, for example, the compositor never requests
new frames, which will cause Mesa to block forever in eglSwapBuffers to
satisfy the swap interval.
We now always set the swap interval to 0 and manage this ourselves, handing
the frame to Wayland when it requests a new one, and timing out at 10fps just
to keep apps moving if the compositor wants no frames at all.
My understanding is that other protocols are coming that might improve upon
this solution, but for now it solves the total hang.
Fixes #4335 .
2021-04-30 13:20:35 -04:00
Ozkan Sezer
227021b647
SDL_windowsmessagebox.c (MessageBoxDialogProc): fix calling convention.
2021-04-30 11:25:20 +03:00
Sylvain
13472cec67
Fixed bug #4228 : move from jcenter() to mavenCentral()
...
SDL can use relinker. If it's enabled on your project, you need to update to version 1.4.3
2021-04-30 09:48:29 +02:00
Sylvain
a74f888ff9
Fixed bug #4337 - compilation of 'SDL_vulkan_utils' fails with 'VK_ERROR_INCOMPATIBLE_VERSION_KHR' undeclared
2021-04-29 22:25:00 +02:00
Sylvain
8ac0fb52cb
OpenSLES: CloseDevice() is called at higher level, if OpenDevice() fails
...
- explicit initialization of static variables
2021-04-29 09:29:02 +02:00
Sylvain
1f3df900f9
Error missing 'flags' initialization (see bug #2881 )
2021-04-28 23:40:26 +02:00
Sylvain
fcbf19b764
AAudio: make sure stream is not null to prevent crash in RequestStop (see #3710 )
2021-04-28 21:04:47 +02:00
Sylvain
c93e3b3607
Fixed bug #2881 - SDL_RLEsurface may encode RGB888 if it has no color key (Thanks Simon Hug)
...
To encode with BLEND mode, it needs a valid alpha channel
2021-04-28 10:43:28 +02:00
Sylvain
b626429745
Merge remote-tracking branch 'refs/remotes/origin/main'
2021-04-27 11:10:41 +02:00
Sylvain
f869518533
Audio: normalize conversion Stereo to 5.1, Quad to 7.1, 5.1 to 7.1 (bug #4104 )
2021-04-27 11:07:51 +02:00
Sylvain
21349901ea
Audio: convert 5.1 to 7.1, use right-surround for r-front and r-back (see #4104 )
2021-04-27 10:57:48 +02:00
Ryan C. Gordon
8527c583f4
cocoa: Fix recreated windows that are both borderless and resizable.
...
These would accidentally get a titlebar because the "borderless" style mask
is zero but the resizable attribute adds a bit. I assume this happens because
you used to need window decoration to resize a window in macOS, but this
changed in later releases.
This only caused problems when recreating a window (you had an
SDL_WINDOW_OPENGL window and tried to create a Metal SDL_Renderer on it, etc).
Fixes #4324 .
2021-04-27 01:36:23 -04:00