功能:完善2K串流、显示恢复与输入优化
This commit is contained in:
1 parent
e47b01beec
commit
938ec97cce
95 files changed
+5788
-72
No files matched your search
@@ -0,0 +1,31 @@
|
||||
#!/bin/bash
|
||||
# Run against the actual patched source and private runtime on the ARM64 box.
|
||||
set -euo pipefail
|
||||
b="${VDI_RKMPP_BUILD_ROOT:-$HOME/vdi-build/rkmpp-experiment}"
|
||||
sdk="$b/deps/usr"
|
||||
export LD_LIBRARY_PATH="$b/runtime/lib:$sdk/lib/aarch64-linux-gnu${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
|
||||
export PKG_CONFIG_PATH="$b/runtime/lib/pkgconfig:$sdk/lib/aarch64-linux-gnu/pkgconfig:$sdk/share/pkgconfig"
|
||||
export CPLUS_INCLUDE_PATH="$sdk/include/aarch64-linux-gnu:$sdk/include"
|
||||
export C_INCLUDE_PATH="$sdk/include/aarch64-linux-gnu:$sdk/include"
|
||||
sanitize=()
|
||||
if [ "${VDI_TEST_SANITIZE:-0}" = 1 ]; then
|
||||
sanitize=(-fsanitize=address -g)
|
||||
fi
|
||||
g++ "${sanitize[@]}" -std=c++17 -fPIC -UNDEBUG "$b/latency-tests/test_latency.cpp" \
|
||||
-I"$b/src/moonlight/app/streaming/input" \
|
||||
-I"$b/src/moonlight/app/streaming/video/ffmpeg-renderers/pacer" \
|
||||
-I"$b/runtime/include" $(pkg-config --cflags --libs Qt5Core sdl2) \
|
||||
-L"$b/runtime/lib" -lavutil -o "$b/latency-tests/test_latency"
|
||||
"$b/latency-tests/test_latency"
|
||||
|
||||
g++ "${sanitize[@]}" -std=c++17 -fPIC -UNDEBUG "$b/latency-tests/test_input_priority.cpp" \
|
||||
-I"$b/src/moonlight/app/streaming/input" $(pkg-config --cflags --libs sdl2) \
|
||||
-o "$b/latency-tests/test_input_priority"
|
||||
"$b/latency-tests/test_input_priority"
|
||||
gcc "${sanitize[@]}" -std=gnu11 -ffunction-sections -fdata-sections -Wl,--gc-sections -UNDEBUG \
|
||||
-I"$b/src/moonlight/moonlight-common-c/moonlight-common-c/src" \
|
||||
-I"$b/src/moonlight/moonlight-common-c/moonlight-common-c/enet/include" \
|
||||
"$b/latency-tests/test_absolute_input.c" \
|
||||
"$b/build/moonlight/moonlight-common-c/libmoonlight-common-c.a" \
|
||||
-lpthread -lcrypto -o "$b/latency-tests/test_absolute_input"
|
||||
"$b/latency-tests/test_absolute_input"
|
||||
Reference in new issue
Block a user