|
943053a9
|
2020-12-09T01:50:49
|
|
Clean up touch a little more
|
|
f61b9e76
|
2020-12-09T00:37:46
|
|
Cleanup touch. Fix back touchscreen
|
|
6f7c7c55
|
2020-12-05T22:38:12
|
|
sensors corrections
|
|
a86ba391
|
2020-11-28T00:32:32
|
|
Add SDL_RenderReadPixels
|
|
6c3bf565
|
2020-11-23T12:44:54
|
|
Unified build with both renderers
|
|
a1adc8a9
|
2020-11-22T01:02:00
|
|
Add sensor support
|
|
f623211e
|
2020-11-25T00:29:04
|
|
remove sceGxmFinish on render swap
|
|
bd14aa63
|
2020-11-21T23:09:30
|
|
Autobuild
|
|
01311054
|
2020-11-21T23:04:43
|
|
Fix render name
|
|
6d856377
|
2020-12-05T12:37:53
|
|
Fix sensors
|
|
0b45529e
|
2020-11-25T00:19:18
|
|
Add viewport support
|
|
6ba84975
|
2020-11-21T23:04:27
|
|
Remove vita2d render, add raw gxm render
|
|
ef0bbfd6
|
2020-11-16T20:40:22
|
|
Include anf fix vita2d renderer
|
|
2209b717
|
2020-11-24T18:12:38
|
|
Refactor render state
|
|
dbb730d3
|
2020-11-14T23:37:26
|
|
Separate vita piglet renderer. Add proper render initialization and window re-creation.
|
|
d75ea51a
|
2020-11-02T20:05:55
|
|
Fix texture shaders
|
|
d9b2bde2
|
2020-12-07T18:40:41
|
|
Fallback to app0:
|
|
e7edb06e
|
2020-12-04T00:06:15
|
|
Audio fix
|
|
333d5e11
|
2020-11-23T20:15:39
|
|
Add drawstate cache
|
|
194c8138
|
2020-11-02T19:55:01
|
|
Fix filesystem
|
|
73b545ed
|
2020-11-02T19:38:20
|
|
Fix joystick support
|
|
56bde0f6
|
2020-11-23T18:31:23
|
|
Rename memory functions to avoid clash with vita2d
|
|
41d6c80b
|
2020-11-02T19:01:25
|
|
Filesystem module
|
|
2e3dd0a6
|
2020-11-02T18:14:57
|
|
Remove debug log
|
|
05e5a7cb
|
2020-11-29T22:07:53
|
|
Oops
|
|
94d7737b
|
2020-11-23T12:45:51
|
|
Texture render target
|
|
80036230
|
2020-11-02T18:10:09
|
|
Cg shaders for vita gles2
|
|
2d64e37e
|
2020-11-02T18:09:43
|
|
Initial rebase of xerpi's port
|
|
63e223fa
|
2020-11-23T12:45:09
|
|
Set initial blend mode
|
|
bd065387
|
2021-03-08T17:02:28
|
|
configure: fix wrong AS_HELP_STRING quoting.
|
|
b6b0c908
|
2021-03-08T13:56:26
|
|
Dynapi: fix 'gendynapi.pl' script for array parameters
|
|
a7938107
|
2021-03-06T11:28:04
|
|
fix SDLK_DELETE after commit 2f5beac190d
|
|
2f5beac1
|
2021-03-05T13:15:52
|
|
Change octal char literals to hex char literals
This should not change anything at all within the compiled library, but it does make the header file easier to read for non-C programmers who don't expect an octal value.
|
|
391bb80b
|
2021-03-05T16:53:06
|
|
Replace duplicate functions and lstrlen/lstrcat with SDL string functions
|
|
67e8522d
|
2021-02-27T17:37:25
|
|
Add SDL_GetAudioDeviceSpec.
This API is supported by pipewire, pulseaudio, coreaudio, wasapi, and disk.
|
|
00fabdde
|
2021-03-03T19:05:47
|
|
Make github CI great again
The current CI doesn't work and can be fixed. To steps, use a matrix to build on various OS + allow platform specific flags.
The linux build should cover a wider case of video backends.
|
|
68693554
|
2021-03-04T23:50:40
|
|
dos2unix SDL_dynapi_*.h
|
|
34ecd71e
|
2021-03-04T18:44:04
|
|
CMake: don't add -Wl,--no-undefined to LDFLAGS for clang+windows cases
from a patchset by Vladislav Dmitrievich Turbanov:
https://github.com/libsdl-org/SDL/pull/4062
|
|
3880174a
|
2021-03-04T18:40:56
|
|
CMake: set OPT_DEF_LIBC to ON for clang case, too.
from a patchset by Vladislav Dmitrievich Turbanov:
https://github.com/libsdl-org/SDL/pull/4062
|
|
05cc9e37
|
2021-03-04T18:40:50
|
|
CMake: move GCC check after CLANG, so that CLANG is properly recognized
from a patchset by Vladislav Dmitrievich Turbanov:
https://github.com/libsdl-org/SDL/pull/4062
|
|
81cdb1bb
|
2021-03-04T18:32:32
|
|
test: add unifont-9.0.02.hex as a resource (so it works out-of-the-box)
from a patchset by Vladislav Dmitrievich Turbanov:
https://github.com/libsdl-org/SDL/pull/4062
|
|
a52d0db5
|
2021-03-04T18:28:10
|
|
test/CMakeLists.txt: add OpenGL module checks and adjust dependencies.
from a patchset by Vladislav Dmitrievich Turbanov:
https://github.com/libsdl-org/SDL/pull/4062
|
|
e7abf968
|
2021-03-04T18:28:04
|
|
test/CMakeLists.txt: bump cmake minimum required to 3.0 for consistency
from a patchset by Vladislav Dmitrievich Turbanov:
https://github.com/libsdl-org/SDL/pull/4062
|
|
dd5aff30
|
2021-03-04T18:27:56
|
|
SDL_fillrect.c: updated SSE_BEGIN macro for windows clang-cl
from a patchset by Vladislav Dmitrievich Turbanov:
https://github.com/libsdl-org/SDL/pull/4062
|
|
0ed17131
|
2021-03-04T18:27:47
|
|
update SDL_COMPOSE_ERROR macro for windows clang-cl
from a patchset by Vladislav Dmitrievich Turbanov:
https://github.com/libsdl-org/SDL/pull/4062
|
|
e228d152
|
2021-03-04T18:27:37
|
|
SDL_config_windows.h: added clang to list of toolchains having stdint.h
from a patchset by Vladislav Dmitrievich Turbanov:
https://github.com/libsdl-org/SDL/pull/4062
|
|
c1c4f274
|
2021-03-04T18:27:32
|
|
cpuinfo: updated xgetbv call for windows clang-cl.
from a patchset by Vladislav Dmitrievich Turbanov:
https://github.com/libsdl-org/SDL/pull/4062
|
|
e88d7846
|
2021-03-04T14:36:33
|
|
Update SDL_blit_auto.c
|
|
ab0cf42a
|
2021-03-04T14:33:56
|
|
Software nearest scaling: start at the middle of pixel
so that it matches opengl GL_NEAREST mode most of the time
|
|
ac8a3fda
|
2021-03-03T20:33:20
|
|
fix prepare_audiospec() possibly missing a bad SDL_AUDIO_CHANNELS env.
|
|
61586216
|
2021-03-02T21:39:38
|
|
Update cpuid code for clang-cl
The clang-cl compiler defines `__llvm__` but not `__GNUC__`. The `__cpuid` intrinsic doesn't seem to exist with clang-cl, so the code won't link properly. The `__GNUC__` versions of these functions will work properly on Windows with clang-cl.
|
|
4de0c74a
|
2021-03-02T10:02:59
|
|
audio: pipewire: Add the application name to the stream properties
|
|
9ed01da7
|
2021-03-02T09:47:47
|
|
audio: pipewire: Constify and clarify period size calculations
Constify the min/max period variables, use a #define for the base clock rate used in the calculations and note that changing the upper limit can have dire side effects as it's a hard limit in Pipewire.
|
|
d7ca855c
|
2021-03-02T09:33:11
|
|
audio: pipewire: Add missing static qualifiers to globals
|
|
84c44e01
|
2021-03-01T12:39:52
|
|
audio: pipewire: fix uninitialized variable warnings
|
|
0a683221
|
2021-03-01T15:11:50
|
|
add missing PIPEWIRE defines to SDL_config.h.in
also specify 'audio' in Pipepire configuration enable messages.
|
|
9afd7570
|
2021-02-20T13:33:12
|
|
audio: pipewire: Always buffer source audio
The latency of source nodes can change depending on the overall latency of the processing graph. Incoming audio must therefore always be buffered to ensure uninterrupted delivery.
The SDL_AudioStream path was removed in the input callback as the only thing it was used for was buffering audio outside of Pipewire's min/max period sizes, and that case is now handled by the omnipresent buffer.
|
|
106dc009
|
2021-02-19T17:18:36
|
|
audio: pipewire: Pass proper parameter to user audio callback
The audio callbacks should pass the callbackspec.userdata parameter to the callback, not spec.userdata
Co-authored-by: Oschowa <Oschowa@web.de>
|
|
f3ebbc06
|
2021-02-19T16:02:20
|
|
audio: pipewire: Retrieve the channel count and default sample rate for sinks/sources
Extend device enumeration to retrieve the channel count and default sample rate for sink and source nodes. This required a fairly significant rework of the enumeration procedure as multiple callbacks are involved now. Sink/source nodes are tracked in a separate list during the enumeration process so they can be cleaned up if a device is removed before completion. These changes also simplify any future efforts that may be needed to retrieve additional configuration information from the nodes.
|
|
2f0b99a7
|
2021-02-13T11:56:05
|
|
audio: Add Pipewire playback/capture sink
|
|
7001b531
|
2021-02-27T12:53:08
|
|
audio: pipewire: Add vim format lines to files and fix indentation
Increase indentation spacing from 2 to 4 to comply with style standards.
|
|
2fcba50e
|
2021-02-27T12:08:15
|
|
audio: pipewire: Code and comment cleanups
Replace "magic numbers" with #defines, explain the requirements when using the userdata pointer in the node_object struct and a few other minor code and comment cleanups.
|
|
4eadd147
|
2021-02-25T14:00:23
|
|
audio: pipewire: Fix outdated comment
|
|
cd56f1b3
|
2021-02-24T14:36:58
|
|
audio: pipewire: Use "rear" designation for rear channels
Use the 'R' (rear) prefixed designations for the rear audio channels instead of 'S' (surround). Surround designated channels are only used in the 8 channel configuration.
|
|
adc0a931
|
2021-02-24T14:08:08
|
|
audio: Move Pipewire bootstrap after Jack
Move the Pipewire audio driver below others in the list so it won't be mistakenly initialized when it's not the system mixer.
|
|
21adec93
|
2021-02-24T12:02:54
|
|
audio: pipewire: Make enumeration structure and function names more descriptive
Rename the add/remove/clear list functions and rename connected_device to io_node, as a sink/source node isn't necessarily a device.
|
|
a07f5434
|
2021-02-21T13:24:20
|
|
audio: pipewire: Report default devices first
Further refactor the device enumeration code to retrieve the default sink/source node IDs from the metadata node. Use the retrieved IDs to sort the device list so that the default devices are at the beginning and thus are the first reported to SDL.
|
|
57a927e8
|
2021-02-12T14:27:58
|
|
wayland: Explicitly set min/max size for xdg-shell
|
|
33598563
|
2021-02-26T23:21:25
|
|
Fix coding style
|
|
69a600b0
|
2021-02-26T22:24:48
|
|
Implement requested changes
|
|
0e35f0be
|
2021-02-26T21:43:36
|
|
Fix KMSDRM-related warnings
|
|
dfa64ead
|
2021-02-25T19:22:31
|
|
KMSDRM: Add hint to enable the backend without DRM master
In some cases, it can be useful to have the KMSDRM backend even if it cannot
be used for rendering. An app may want to use SDL for input processing while
using another rendering API (such as an MMAL overlay on Raspberry Pi) or
using its own code to render to DRM overlays that SDL doesn't support.
This also moves the check for DRM master to an earlier point where we can fail
initialization of the backend, rather than allowing the backend to initialize
then failing the creation of a window later.
|
|
8c5b7af2
|
2021-02-25T19:30:47
|
|
Wayland: Fix mouse pointer hiding on Plasma Wayland
Unlike Mutter and Sway, KWin actually checks the serial passed in
wl_pointer_set_cursor(). The serial provided is supposed to be the
serial of the pointer enter event, but We were always passing 0.
This caused KWin to drop our requests to hide the cursor.
Thanks to the KDE folks for spotting this in my debug logs.
Fixes #3576
|
|
d2d834b9
|
2021-02-25T15:21:59
|
|
KMSDRM: Add gamma support
|
|
72f7a10c
|
2021-02-25T19:40:28
|
|
disable pixman ARM blitters for __aarch64__ | _M_ARM64
Closes: https://github.com/libsdl-org/SDL/issues/4095
|
|
2f4e9294
|
2021-02-25T14:09:07
|
|
Update the Linux build instructions
|
|
e561ce3a
|
2021-02-25T01:40:02
|
|
SDL_cpuinfo.c: replaced gcc i386 checks with __i386__ .
|
|
55a385a3
|
2021-02-24T20:03:50
|
|
removed a useless restriction from Watcom version of SDL_Swap32()
also did a little whitespace tidy-up.
|
|
b8d21852
|
2021-02-23T17:37:20
|
|
added Watcom i386 inline asm for SDL_Swap64()
|
|
c287087f
|
2021-02-23T09:26:03
|
|
Only change joystick->nbuttons for Joy-Cons, since they're the only ones that have these "paddles"
|
|
ee52624f
|
2021-02-22T17:23:13
|
|
Switch Joy-Con SL and SR buttons are now mapped to matching paddle positions so that all buttons can be accessed when using SDL_HINT_JOYSTICK_HIDAPI_JOY_CONS
|
|
7a2b6f33
|
2021-02-22T13:32:42
|
|
Guard Inotify stuff with macro
This fix implicit declaration of close and unused variable warning.
|
|
8481229f
|
2021-02-22T15:00:52
|
|
Fix error handling in KMSDRM_AddDisplay
Add missing `goto cleanup` and check that `dispdata` is not NULL before dereferencing it.
|
|
2df9c15e
|
2021-02-22T14:51:42
|
|
Fix memory leak in KMSDRM_Vulkan_CreateSurface
Variable `device_props` is never freed.
|
|
b3498a5d
|
2021-02-22T15:50:02
|
|
make SDL_syswm.h work with apple's older gcc versions
c.f. https://bugzilla.libsdl.org/show_bug.cgi?id=2694
|
|
bb76edf3
|
2021-02-22T15:44:32
|
|
fix permissions of a few files
|
|
844d5e3e
|
2021-02-21T11:54:50
|
|
Fix memory leak in ConnectSensor
'name' is leaked in case of error.
|
|
557aa140
|
2021-02-21T14:18:09
|
|
CI: fixed branch name
|
|
f63e827e
|
2021-02-21T14:16:49
|
|
DOCS: group the markdown
|
|
306e808d
|
2021-02-21T14:02:30
|
|
CI: added github pages build job
|
|
5d266e9b
|
2021-02-21T13:57:38
|
|
CI: added github actions
|
|
11cb53d2
|
2021-02-21T23:28:49
|
|
[KMSDRM] Add missing break and modify comments.
|
|
9172e413
|
2021-02-21T22:57:22
|
|
[KMSDRM] Fix intermitent bug in Vulkan initialization on Raspberry Pi 4.
|
|
1a17ab30
|
2021-02-21T11:03:26
|
|
Added mappings for popular controllers on Chromebooks
|
|
f5e9c5b7
|
2021-02-21T11:03:25
|
|
Chromebooks support relative mouse motion now
|
|
db58166e
|
2021-02-21T17:28:08
|
|
joystick: hidapi: Properly include <unistd.h> when inotify not available
In the extremely unlikely event that inotify is not available (and,
therefore, HAVE_INOTIFY is not #defined), SDL will no-longer build.
This is because <unistd.h> is only included when HAVE_INOTIFY is
defined, and PR #4098 adds a call to access(…, F_OK), which requires
<unistd.h>.
(Note that the F_OK symbol is the only one which actually prevented
SDL from compiling, but both access() and close() fell back to implicit
definitions, which is a bit concerning.)
Fixes: 8d43f45a7b ("Don't use udev for joystick enumeration if running in a container")
|
|
360740ac
|
2021-02-19T18:07:53
|
|
correct dynapi
|
|
5696582e
|
2021-02-19T14:22:31
|
|
add SDL_AndroidShowToast for https://developer.android.com/reference/android/widget/Toast
|
|
1a924bc0
|
2021-02-19T12:54:57
|
|
add SDL_AndroidShowToast for https://developer.android.com/reference/android/widget/Toast
|
|
8d43f45a
|
2021-02-16T14:13:30
|
|
Don't use udev for joystick enumeration if running in a container
If we are running in a container, like Flatpak[1] or pressure-vessel[2],
it's likely that we are using user namespaces,
therefore udev event notification via netlink won't work reliably.
Use their filesystem API to detect them and automatically fallback to
the inotify-based enumeration.
[1] <https://flatpak.org/>
[2]
<https://gitlab.steamos.cloud/steamrt/steam-runtime-tools/-/tree/master/pressure-vessel>
Signed-off-by: Ludovico de Nittis <ludovico.denittis@collabora.com>
|