mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-12-06 21:15:43 +00:00
Avoid rebuilding mipmaps for mirrored Android frames
This commit is contained in:
1 parent
f80be06061
commit
3fb6abe27b
1 file changed
+2
-1
@@ -49,8 +49,9 @@ connected || connected ||
|
||||
output=$(mktemp)
|
||||
export SDL_VIDEODRIVER=x11
|
||||
# Android plays audio on the handheld. Capturing it here would feed it back into Android again.
|
||||
# Skip rebuilding the OpenGL mipmap chain for every mirrored frame.
|
||||
scrcpy --serial "$serial" --new-display=1280x720/240 --start-app="$package" \
|
||||
--window-title="Android app" --no-vd-system-decorations --no-clipboard-autosync --no-mouse-hover \
|
||||
--mouse-bind=----:---- --gamepad=uhid --no-audio --max-fps=60 9>&- 2>&1 | tee "$output" ||
|
||||
--mouse-bind=----:---- --gamepad=uhid --no-audio --no-mipmaps --max-fps=60 9>&- 2>&1 | tee "$output" ||
|
||||
grep -Fq '[server] INFO: DroidDeck Android shortcut ended' "$output" ||
|
||||
fail "The Android app window closed unexpectedly. Try launching it again."
|
||||
Reference in new issue
Block a user