Commit Graph

492 Commits

Author SHA1 Message Date
Cameron Gutman
2f03600bae Ignore CRCs in SDL mappings 2024-02-19 15:45:17 -06:00
Cameron Gutman
fc904d2dac Treat devices as gamepads if they have a hat instead of an analog stick
Fixes #880
2024-02-18 14:56:57 -06:00
Cameron Gutman
d6c9650a32 Add rotation support for Rockchip
Fixes #878
2024-02-18 14:48:13 -06:00
Cameron Gutman
a9d6f17d5e Replace ioctl() retry loops with drmIoctl() 2024-02-18 14:30:59 -06:00
Cameron Gutman
8125d2194b Fix __builtin_cpu_supports(aes) on GCC 9 and earlier 2024-02-17 13:23:06 -06:00
Cameron Gutman
9255f774f2 Add fast AES detection for RISC-V using hwprobe() syscall 2024-01-23 02:46:05 -06:00
amazingfate
5bd2799209 Support cursor plane on Rockchip platforms 2024-01-16 00:49:16 -06:00
Cameron Gutman
0712e05aab Opt in to video encryption on CPUs with good AES perf 2024-01-15 17:35:59 -06:00
armin-25689
810ef140cb style: make the code more prescriptive 2024-01-01 12:41:51 -06:00
armin-25689
a610eddd97 build: change <endian.h> header file and __s32 type for FreeBSD 2024-01-01 12:41:51 -06:00
armin-25689
3840b1409e feat: add oss audio callback for FreeBSD
OSS is the native sound system of the FreeBSD.It will be used on the x11_vaapi platform.It was added to reduce moonlight's dependency on FreeBSD.
2024-01-01 12:41:51 -06:00
Cameron Gutman
dc03235a62 Fix several build warnings 2023-10-29 19:56:18 +00:00
Cameron Gutman
19442743a6 Fix busy looping forever after an evdev device goes away 2023-09-01 18:07:25 -05:00
Cameron Gutman
74714e6fb1 Cleanup udev code a bit 2023-09-01 18:06:42 -05:00
Cameron Gutman
b1d111b5f7 Only use atomic API for HDR streams on RK backend 2023-08-31 21:32:12 -05:00
Cameron Gutman
eb46891f4c Add AV1 support for the AML backend 2023-08-31 19:39:53 -05:00
Cameron Gutman
c883b6786f Allow modesets to handle SDR/HDR transition 2023-08-31 18:51:32 -05:00
Cameron Gutman
861cdbc014 Set Colorspace connector property in RK backend 2023-08-31 18:15:25 -05:00
Cameron Gutman
41fddcf5ef Fix error check 2023-08-31 17:55:50 -05:00
Cameron Gutman
d1db1d5231 Add error handling for some RK init failures 2023-08-31 17:53:38 -05:00
Cameron Gutman
8ef8891969 Add AV1 support to Rockchip backend 2023-08-31 17:52:40 -05:00
Cameron Gutman
642b498aee Fix supportedVideoFormats value for HEVC/AV1 2023-08-31 17:51:51 -05:00
Cameron Gutman
68234081f8 Implement touch events for SDL backend 2023-08-30 00:03:49 -05:00
Cameron Gutman
3904c82ee9 Fix build with old SDL versions 2023-08-30 00:02:09 -05:00
Cameron Gutman
bf14d37cd5 Fix codec autoselection 2023-08-29 22:43:00 -05:00
Cameron Gutman
b1b3e274b3 Fix AVCodecContext leak 2023-08-29 22:37:18 -05:00
Cameron Gutman
93f5dc6cae Send controller arrival from SDL backend 2023-08-29 22:31:00 -05:00
Cameron Gutman
e15466e909 Send controller arrival from evdev backend 2023-08-29 21:45:55 -05:00
Cameron Gutman
859965a5a6 Support new controller features for SDL backend 2023-08-29 21:19:36 -05:00
Cameron Gutman
0deeb94655 Add support for extended Sunshine button flags 2023-08-29 20:47:31 -05:00
Cameron Gutman
c158833258 Try all decoders not just the first one that was compiled in 2023-08-29 20:47:09 -05:00
Cameron Gutman
ab53f149f2 Update moonlight-common-c with Sunshine extensions 2023-08-29 20:46:35 -05:00
Cameron Gutman
0169cedb27 Allow up to 16 gamepads with Sunshine hosts 2023-06-30 20:55:20 -05:00
Cameron Gutman
5bb47ce8b6 Update automatic bitrate logic to match Qt client 2023-03-12 16:23:33 -05:00
Cameron Gutman
0d0728f3c4 Set HDR metadata using legacy DRM API 2023-03-12 16:11:23 -05:00
Cameron Gutman
a585072ff8 Just log if atomic commit fails 2023-03-12 16:04:12 -05:00
Cameron Gutman
dc786e3033 Don't assert if the previous commit is still in progress 2023-03-12 14:50:05 -05:00
Cameron Gutman
dede55c7f9 Allow modesets for HDR entry/exit 2023-03-12 14:46:19 -05:00
Cameron Gutman
a328a53d59 Fix handling of 10-bit YUV buffers on newer RK devices 2023-03-12 14:20:32 -05:00
Cameron Gutman
6ea4a768e4 Support both NA12 and NV15 with runtime selection 2023-03-12 13:53:19 -05:00
Cameron Gutman
91022ea3bb Add HDR metadata struct for old libdrm headers 2023-03-12 13:44:30 -05:00
Cameron Gutman
6310edb0bd Set HDR metadata and HDMI ALLM for RK backend 2023-03-12 13:16:25 -05:00
Cameron Gutman
c779c1970d Change RK backend to use DRM atomic API 2023-03-12 12:58:51 -05:00
Cameron Gutman
1caf24beab Only use HEVC by default for accelerated X11 platforms 2023-03-06 21:43:50 -06:00
Cameron Gutman
f486c8e356 Only prefer SDL over unaccelerated X11 2023-03-06 21:43:02 -06:00
Cameron Gutman
5edf4d3dc7 Print FFmpeg decoder name 2023-03-06 21:26:18 -06:00
Cameron Gutman
0b80cc197a Try various other non-hwaccel FFmpeg decoders 2023-03-06 21:24:49 -06:00
Cameron Gutman
21eb932e52 Prefer SDL over X11 and enable HEVC for X11/SDL 2023-03-06 21:16:35 -06:00
Cameron Gutman
6ab37d0036 Accept both primary and overlay planes on Rockchip platforms
Fixes #861
2023-03-05 23:48:10 -06:00
Cameron Gutman
a9f8a77b66 Use upstreamed fourcc code for 10-bit NV12 on Rockchip 2023-03-05 23:46:34 -06:00