scrcpy/doc
Romain Vimont 264110fd70 Dissociate virtual display size and capture size
Allow capturing virtual displays at a lower resolution using
-m/--max-size.

In the original implementation in #5370, the virtual display size was
necessarily the same as the capture size. The --max-size value was only
allowed to determine the virtual display size when no explicit size was
provided.

Since the dpi was scaled down accordingly, it is often better to create
a virtual display at the target capture size directly. However, not
everything is rendered according to the virtual display DPI. For
example, a page in Firefox is rendered too big on small virtual
displays. Thus, it makes sense to be able create a virtual display at a
given size, and capture it at a lower resolution with --max-size. This
is now possible using OpenGL filters.

Therefore, change the behavior of --max-size for virtual displays:
 - --max-size does not impact --new-display without size argument
   anymore (the virtual display size is the main display size);
 - it is used to limit the capture size (whether an explicit size is
   provided or not).

This new behavior is consistent with main display capture.

Refs #5370 comment <https://github.com/Genymobile/scrcpy/pull/5370#issuecomment-2438944401>
Refs #5370 <https://github.com/Genymobile/scrcpy/pull/5370>
PR #5506 <https://github.com/Genymobile/scrcpy/pull/5506>
2024-11-21 18:36:23 +01:00
..
audio.md Rename --display-buffer to --video-buffer 2024-10-31 19:57:52 +01:00
build.md Update links to 2.7 2024-09-15 21:18:15 +02:00
camera.md Merge branch 'master' into release 2023-11-25 21:37:37 +01:00
connection.md Reorder documentation 2024-03-11 18:05:27 +01:00
control.md Add shortcut for horizontal tilt 2024-09-25 21:38:09 +02:00
develop.md Rename --display-buffer to --video-buffer 2024-10-31 19:57:52 +01:00
device.md Add --screen-off-timeout 2024-11-09 10:26:59 +01:00
gamepad.md Mention issue with AOA and multiple gamepads 2024-09-15 18:58:53 +02:00
keyboard.md Document UHID 2024-03-01 00:52:28 +01:00
linux.md Mention that the Debian package is obsolete 2024-06-13 09:14:40 +02:00
macos.md Add references to prerequisites 2023-03-13 08:43:54 +01:00
mouse.md Update mouse documentation about capture key 2024-10-28 14:55:55 +01:00
otg.md Add gamepad user documentation 2024-09-15 11:21:56 +02:00
recording.md Update documentation for --no-window 2024-05-11 17:12:00 +02:00
shortcuts.md Add shortcut to reset video capture/encoding 2024-11-03 19:31:02 +01:00
tunnels.md Rework README and documentation 2023-03-12 02:04:58 +01:00
v4l2.md Mention exclusive_caps mode in v4l2 documentation 2023-11-28 08:32:28 +01:00
video.md Dissociate virtual display size and capture size 2024-11-21 18:36:23 +01:00
virtual_display.md Dissociate virtual display size and capture size 2024-11-21 18:36:23 +01:00
window.md Update documentation for --no-window 2024-05-11 17:12:00 +02:00
windows.md Update links to 2.7 2024-09-15 21:18:15 +02:00