|
49141996
|
2021-04-04T00:29:26
|
|
ibus: make sure we don't pass a NULL path string over D-Bus.
Fixes #2941.
|
|
354cabd4
|
2021-04-03T18:15:50
|
|
egl: favor truecolor configurations.
If app requested <= 16 color depth and there is a 24-bit config available,
favor that. This fixes things that quietly expect to get truecolor output
but don't request it (...like SDL's render api...) and things that are
probably requesting 16-bit color as a fallback but expecting reasonable
systems to give them full depth.
Specifically, this fixes Life is Strange on Wayland, which uses the latter
approach, and anything using SDL_Render on Wayland, which uses the former.
Fixes #4056.
Fixes #4132.
|
|
4abe3446
|
2021-04-03T10:10:58
|
|
SDL_EGL_ChooseConfig: cleanups and minor optimizations.
- Move an immutable condition out of a for loop.
- Add a break statement to that loop when we find what we're looking for.
- Add an assert to make sure we don't overflow a buffer.
- Wrap a single-statement if block in braces.
- Adjust some whitespace.
|
|
7d02248c
|
2021-04-02T14:36:53
|
|
tls: wrap reference to a mutex into an #if !SDL_THREADS_DISABLED test.
|
|
dbdbae44
|
2021-04-02T14:35:11
|
|
linux: (de)initialize d-bus at init and quit.
Previously we had different subsystems quitting it, in conflict, and risked
multiple threads racing to init it at the same time.
Fixes #3643.
|
|
57c2a456
|
2021-04-02T14:01:41
|
|
render: draw when hidden, except on iOS and Android.
Fixes #2979.
|
|
fa818834
|
2021-03-30T13:25:09
|
|
[KMSDRM] Fake refresh rate precision on Vulkan display mode creation.
|
|
942aa7bd
|
2021-03-30T11:41:26
|
|
[KMSDRM] No need to use an SDL_VideoDisplay pointer to access display index.
|
|
033c0abb
|
2021-03-27T14:04:00
|
|
Use dispatch_async for -[NSOpenGLContext update]. Fixes #3680
|
|
eeee7308
|
2021-03-29T16:57:03
|
|
wayland: Implement IME support.
Note that this is purely to make it possible to enter text that requires
composition - for example, before this commit Kanji input didn't work at all.
The big problem this still has is that we need the window position, and this is
still not implemented. Once we have this information we can do the equivalent
of XTranslateCoordinates to put the rectangle where we want it.
|
|
733b3278
|
2021-03-29T19:22:26
|
|
[KMSDRM] Minor Vulkan code adjustments regarding pointers and display index.
|
|
9d294f1f
|
2021-03-27T00:53:10
|
|
audio: Allow AudioStreamGet to return 0 in RunAudio.
While we should normally expect _something_ from the stream based on the
AudioStreamAvailable check, it's possible for a device change to flush the
stream at an inconvenient time, causing this function to return 0.
Thing is, this is harmless. Either data will be NULL and the result won't matter
anyway, or the data buffer will be zeroed out and the output will just be
silence for the brief moment that the device change is occurring. Both scenarios
work themselves out, and testing on Windows shows that this behavior is safe.
|
|
9b7babf9
|
2021-03-27T00:47:54
|
|
wasapi: Remove assert added by 67e8522d
|
|
fb283a73
|
2021-03-24T22:42:47
|
|
Squashed commit of the following:
commit 6b8f933589aa3925978a23e77a305a7e89c6ae4a
Author: Xing Ji <jixingcn@gmail.com>
Date: Wed Mar 24 22:31:29 2021 +0800
update the dynapi by `gendynapi.pl`
commit ebd1790c19983b652713f40ab1e139e485e1a2b7
Author: Xing Ji <jixingcn@gmail.com>
Date: Wed Mar 24 22:17:48 2021 +0800
revert the change in src/dynapi
commit 734b5f85c1613070081e39238e84198128971b53
Merge: 5a56e5a8 5ac6bd54
Author: Xing Ji <jixingcn@gmail.com>
Date: Wed Mar 24 22:14:40 2021 +0800
Merge remote-tracking branch 'libsdl/main' into jixingcn
commit 5a56e5a8227d9cff6b497b681c618a76bec1cae1
Author: Xing Ji <jixingcn@gmail.com>
Date: Mon Mar 22 23:55:10 2021 +0800
Fix #3596, can call the `SDL_TLSCleanup` to cleanup the TLS data when closing the application
|
|
5ceb6744
|
2021-03-28T14:58:41
|
|
linux: Fix ibus support on Wayland/XWayland
|
|
5f9effaa
|
2021-03-28T17:45:41
|
|
audio: pipewire: Block while waiting on stream state info
Initializing streams, particularly capture streams, can take many milliseconds, which is a bit much for a busy wait. Use a blocking wait instead.
|
|
8deb4063
|
2021-03-28T17:22:59
|
|
audio: pipewire: Avoid redundant locking
The pw_thread_loop already locks and unlocks the thread mutex at the start and end of each loop iteration, so these locks are unnecessary.
|
|
5bb2bbd4
|
2021-03-28T17:17:00
|
|
audio: pipewire: Don't use uninitialized variables in callbacks
Some of the SDL_AudioDevice struct members aren't initialized until after returning from the OpenDevice function. Since Pipewire uses it's own processing threads, the callbacks can be entered before all members of SDL_AudioDevice are initialized, such as work_buffer, callbackspec and the processing stream, which creates a race condition. Don't use these members when in the paused state to avoid potentially using uninitialized values and memory.
|
|
c13c3c37
|
2021-03-27T22:50:18
|
|
[KMSDRM] For Vulkan, use a mode with the same exact size as the window, if possible, or create a new one.
|
|
9de7eaf9
|
2021-03-28T01:30:26
|
|
[KMSDRM] Change error message.
|
|
1ec60a38
|
2021-03-27T23:52:51
|
|
[KMSDRM] Remove unnecessary space.
|
|
07ba13b7
|
2021-03-26T00:40:05
|
|
wayland: Pass --no-wrap to Zenity.
There seems to be a bug where it can wrap the text based on the minimum possible
window size, which can be worked around with --no-wrap. This technically uncaps
the width entirely, but this isn't wildly different from what other backends do.
|
|
54719a9d
|
2021-03-25T23:58:12
|
|
wayland: Assign output_len in ShowMessageBox
|
|
4a07c73b
|
2021-03-26T13:53:58
|
|
Added mapping for the Amazon Luna controller on Linux
|
|
07af9baa
|
2021-03-26T13:05:38
|
|
Use the correct name for the Amazon Luna Gamepad
|
|
ef363555
|
2021-03-26T13:03:29
|
|
Added mapping for the Amazon Luna controller on macOS
|
|
3377861a
|
2021-03-26T11:57:19
|
|
Added support for the Amazon Game Controller to the HIDAPI driver
|
|
27b74d33
|
2021-03-25T23:25:34
|
|
Implement Wayland_ShowMessageBox using Zenity
|
|
5262b52d
|
2021-03-25T23:56:56
|
|
SDL_kmsdrmvideo.c: define EGL_PLATFORM_GBM_MESA if it's missing.
Fixes: https://github.com/libsdl-org/SDL/issues/4232
|
|
5ac6bd54
|
2021-03-24T02:54:36
|
|
[KMSDRM] Ask for videomode on the correct display when creating a window.
|
|
b55b11af
|
2021-03-23T08:07:56
|
|
src/thread/pthread/SDL_systhread.c: drop include of SDL_platform.h
Drop include of SDL_platform.h as SDL_plaform.h is already included by
SDL_internal.h -> SDL_config.h -> SDL_platform.h
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
|
0bdf4f95
|
2021-03-22T19:19:01
|
|
Disable system gestures on MFi controllers while they're open, so we get access to the back button, etc.
|
|
1133ea03
|
2021-03-22T19:18:57
|
|
Fixed crash on macOS when AirPods are connected
|
|
c12f46b1
|
2021-03-22T19:03:25
|
|
[KMSDRM] Fix segmentation fault
Deference the windata pointer *after* checking that it's non-NULL.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
|
|
100166d7
|
2021-03-22T18:00:41
|
|
[KMSDRM] Improve cursor management.
|
|
cf7eef37
|
2021-03-19T04:25:40
|
|
[KMSDRM] Better error handling: no more segfaults on window creation failure.
|
|
4acd1dca
|
2021-03-18T14:04:38
|
|
[KMSDRM] Improve the way to test if last window is being destroyed.
|
|
8638674a
|
2021-03-18T13:55:58
|
|
[KMSDRM] Correct comment typo.
|
|
82ff6045
|
2021-03-18T12:02:54
|
|
[KMSDRM] Unload GL/EGL libs and destroy GBM only when we are destroying the last window.
|
|
c35e7189
|
2021-03-18T11:47:23
|
|
[KMSDRM] All non-vulkan windows have to be marked as OPENGL, not only the first created one.
|
|
281a7bdb
|
2021-03-18T11:20:18
|
|
[KMSDRM] Make the gbm_init flag a viddata member to avoid GBM re-init when several displays are connected.
|
|
7d1b9c9f
|
2021-03-17T14:40:41
|
|
[KMSDRM] Remove unneeded function calls and improve comments for future reference.
|
|
e7e519a4
|
2021-03-17T13:04:05
|
|
dsp: Refuse to initialize if there aren't any Open Sound System devices.
This prevents the dsp target from stealing the audio subsystem but not
being able to produce sound, so other audio targets further down the list
can make an attempt instead.
Thanks to Frank Praznik who did a lot of the research on this problem!
|
|
559be8aa
|
2021-03-15T15:18:10
|
|
fix invalid out of bounds UTF8 handling
|
|
07fc1bb8
|
2021-03-15T15:10:49
|
|
Fix invalid UTF-8 handling of extra bytes
|
|
e14fb54e
|
2021-03-16T10:47:57
|
|
[KMSDRM] Undo SDL_CreateRenderer() modifications aimed at create opengles2 when KMSDRM is in use because it's a harmful solution.
|
|
108bb5aa
|
2021-03-16T00:51:17
|
|
[KMSDRM] Modify SDL_CreateRenderer() to create an opengles2 renderer when the KMSDRM backend is being used and no renderer name has been specified.
|
|
d84df04f
|
2021-03-15T09:00:15
|
|
Merge commit '51345623e888d7bc4131cd8f015c339f757ea68a' into main
|
|
b98b5adc
|
2021-03-15T10:21:36
|
|
wasapi: Don't use the system's resampler.
|
|
9996cecc
|
2021-03-15T05:26:46
|
|
Set ALT_OGL to libOpenGL.so.0 instead of libOpenGL.so.1
|
|
5f7eb88a
|
2021-03-14T22:36:20
|
|
Load libOpenGL.so.1 if libGL.so.1 is not found
|
|
1957ffd2
|
2021-03-14T11:04:28
|
|
fixed a typo in SDL_ceilf()
|
|
dacf6cfb
|
2021-03-11T12:03:22
|
|
Fix compilation with iconv on FreeBSD
|
|
a5f3ea14
|
2021-03-10T09:36:46
|
|
netbsdaudio: Handle ioctls failing
A user reported that the mpv video player hangs after attempting to
set an unsupported number of channels with the SDL audio output,
because it thinks it's successfully opened the device. This makes
the failure graceful.
|
|
4fbd60b8
|
2021-03-09T12:22:48
|
|
audio: pipewire: Remove the nickname portion of sink/source names
Removes the node nickname from sink/source nodes as it doesn't provide any useful information and names now match those used in Pulseaudio, so any stored configuration data will be compatible between the two audio backends.
|
|
72bcf546
|
2021-03-10T16:47:08
|
|
SDL: Updated patches for HAIKU
|
|
3d22731d
|
2021-03-11T20:10:07
|
|
Merge pull request #4175 from 1bsyl/br_blit_rgb555_to_rb1555
Fixed bug 3727 - Blit from RGB555 to ARGB1555
|
|
51345623
|
2021-03-11T20:06:09
|
|
Fixed bug 3727 - Blit from RGB555 to ARGB1555
|
|
33127271
|
2021-03-09T11:40:35
|
|
Fix typecasting
|
|
a4ddb175
|
2021-03-08T19:28:58
|
|
Formatting
|
|
4f9fde87
|
2021-03-08T19:20:33
|
|
Fix types
|
|
e58a955e
|
2021-03-08T18:39:00
|
|
Deprecate dolcesdk
|
|
e1d9cbf6
|
2021-03-07T13:56:38
|
|
Split mouse/kb grab
|
|
29153a1c
|
2021-02-28T14:38:55
|
|
SDL_vitamessagebox: rearrange if/else
Set messageboxdata and buttonid as unused variables
|
|
70a19fd5
|
2021-02-28T13:59:51
|
|
SDL_vitamessagebox: if/else wrap preprocessor condition instead of two if conditions
|
|
abcfb22b
|
2021-02-28T13:49:01
|
|
Add support for Vita file API in SDL_rwops
|
|
c8abc88c
|
2021-01-29T01:26:35
|
|
Add support for message box
|
|
91fe2b67
|
2021-02-19T18:52:19
|
|
Allow larger texture sizes
|
|
e5cbe7cf
|
2021-02-14T00:30:42
|
|
Add l2/r2 axes, l3/r3 buttons. rumble and ledbar support for ds4
|
|
7c4d20cf
|
2021-02-12T23:57:43
|
|
Fix for dolcesdk
|
|
3c1fe9ce
|
2021-02-12T23:46:01
|
|
WTF
|
|
6fab3323
|
2021-02-12T23:45:48
|
|
Typo
|
|
739f4e1e
|
2021-02-01T23:14:28
|
|
Only call sceGxmFinish when vsync is on
Also fix oversight with supported textures
|
|
b52e9459
|
2021-01-29T01:26:13
|
|
Add support for open URL
|
|
189d3c16
|
2021-01-20T23:41:35
|
|
FIFO is default (and not defined in vitasdk, ugh)
|
|
87a118b6
|
2021-01-20T23:33:28
|
|
Use native mutexes
|
|
7423ae1a
|
2021-01-20T23:33:16
|
|
Formatting
|
|
ddfe7200
|
2021-01-18T15:00:50
|
|
Rendering improvements
- Improve performance for unbatched rendering
- Support direct texture access
|
|
23db5381
|
2021-01-11T23:54:56
|
|
Fix defines
|
|
c7cec2c7
|
2021-01-11T20:45:12
|
|
Add more texture formats
|
|
e56c4451
|
2021-01-10T00:12:03
|
|
Disable native framebuffer support
|
|
5e30d84b
|
2021-01-09T23:33:32
|
|
Fix display mode
|
|
10038228
|
2021-01-09T23:33:14
|
|
Properly cleanup framebuffer
|
|
953101de
|
2021-01-09T22:55:11
|
|
Oops. Fix default framebuffer color
|
|
1e2eed1a
|
2020-12-28T15:32:52
|
|
Native framebuffer for software renderer
|
|
a7269a9a
|
2020-12-23T17:27:01
|
|
Update video api to 2.0.14
|
|
7b0b1a12
|
2020-12-23T17:26:52
|
|
Update thread api to 2.0.14
|
|
a05f92da
|
2020-12-23T17:26:34
|
|
Update joystick api to 2.0.14
|
|
ca5e5d61
|
2020-12-18T16:34:24
|
|
VITASDK compatibility
|
|
7d89f09f
|
2020-12-18T14:28:09
|
|
ISO C90 fixes
|
|
0da35d3d
|
2020-12-12T23:47:15
|
|
IME support with gxm backend
|
|
47c6270e
|
2020-12-09T15:28:57
|
|
Fix a bug in vitagles2 renderer
|
|
639323ea
|
2020-12-09T14:38:43
|
|
Fixed gxm render flags
|
|
3ac2242e
|
2020-12-09T12:37:39
|
|
Fix PerformanceCounter
|
|
943053a9
|
2020-12-09T01:50:49
|
|
Clean up touch a little more
|
|
f61b9e76
|
2020-12-09T00:37:46
|
|
Cleanup touch. Fix back touchscreen
|
|
d9b2bde2
|
2020-12-07T18:40:41
|
|
Fallback to app0:
|
|
6f7c7c55
|
2020-12-05T22:38:12
|
|
sensors corrections
|
|
6d856377
|
2020-12-05T12:37:53
|
|
Fix sensors
|
|
e7edb06e
|
2020-12-04T00:06:15
|
|
Audio fix
|