760 Commits

Author SHA1 Message Date
Cameron Gutman
a6bf7154a7 Reduce MAX_FRAMES for RK backend
See b1d111b5f7 (r146373202)
2024-09-08 00:32:30 -05:00
Mingjie Shen
274d3db34d fix unbounded write of sprintf
Buffer write operations that do not control the length of data written
may overflow. Fix by replacing sprintf() with snprintf().
2024-03-25 00:11:49 -05:00
Cameron Gutman
014af67397 Fix build warnings v2.7.0 2024-02-19 22:01:31 -06:00
Cameron Gutman
eb4a202358 Version 2.7.0 2024-02-19 21:29:05 -06:00
Cameron Gutman
bac5360494 Provide better errors when RK renderer fails 2024-02-19 20:56:55 -06:00
Cameron Gutman
0e12282311 Remove a bunch of useless asserts 2024-02-19 20:49:25 -06:00
Cameron Gutman
883498d642 Replace SDL key handling with Moonlight Qt code
The existing code had a bunch of incorrectly mapped keys and was using
keysym instead of scancode which causes issues with non-US keyboards.
2024-02-19 16:16:02 -06:00
Cameron Gutman
55b49221d8 Link util.c into the platform libraries 2024-02-19 15:58:32 -06:00
Cameron Gutman
454f67b0ed Move CPU detection code into a separate file 2024-02-19 15:56:49 -06:00
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
ca4c517510 Update moonlight-common-c 2024-02-18 00:48:26 -06:00
Cameron Gutman
3b1b2ab51d Replace FindLibUUID.cmake with modified version from CMake project 2024-02-18 00:25:53 -06:00
Cameron Gutman
b533c52edd Add missing CMake include 2024-02-18 00:18:41 -06:00
Cameron Gutman
d89bd8d20f Update SDL_GameControllerDB 2024-02-17 23:56:23 -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
8fb2c72ca1 Update moonlight-common-c with RTSP encryption 2024-02-17 13:18:40 -06:00
Cameron Gutman
9255f774f2 Add fast AES detection for RISC-V using hwprobe() syscall 2024-01-23 02:46:05 -06:00
Cameron Gutman
d3d79c3224 Fix HAVE_GETAUXVAL codepath 2024-01-19 19:02:07 -06:00
Cameron Gutman
b08a04c378 Update moonlight-common-c with finalized encryption changes 2024-01-19 18:58:57 -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
Cameron Gutman
02cddf762b Update moonlight-common-c with new encryption support 2024-01-15 17:33:30 -06:00
armin-25689
810ef140cb style: make the code more prescriptive 2024-01-01 12:41:51 -06:00
armin-25689
50a7454bc1 build: use CMAKE_ARGS to control instead for FreeBSD 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
b3fb22d427 fix: it took so long time to connect to the Sunshine host in the FreeBSD
Disable reuse feature for FreeBSD to prevent excessive time from being spent connecting to the Sunshine host
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
3b72f5195b Update moonlight-common-c with new bitrate logic 2023-12-03 22:26:22 -06:00
Cameron Gutman
000d9da4a0 Don't hardcode the signature length 2023-11-29 23:48:09 -06:00
Cameron Gutman
2aba7a10e7 Version 2.6.2 v2.6.2 2023-11-03 01:08:34 -05:00
Cameron Gutman
0131274dce Update moonlight-common-c to fix multi-homed host bug 2023-11-03 00:56:23 -05:00
Cameron Gutman
dc03235a62 Fix several build warnings 2023-10-29 19:56:18 +00:00
Cameron Gutman
c007eabf50 Update moonlight-common-c to fix input reliability/performance issues 2023-10-25 22:55:38 -05:00
Cameron Gutman
d578fd8c7d Version 2.6.1 v2.6.1 2023-10-07 21:12:37 -05:00
Cameron Gutman
807f9027c7 Update moonlight-common-c 2023-10-07 21:09:44 -05:00
Cameron Gutman
36c1636f3c Version 2.6.0 v2.6.0 2023-09-01 18:40:56 -05: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