scrcpy/app
Romain Vimont b60a8aa657 Add two-step write feature to bytebuf
If there is exactly one producer, then it can assume that the remaining
space in the buffer will only increase until it writes something.

This assumption may allow the producer to write to the buffer (up to a
known safe size) without any synchronization mechanism, thus allowing
to read and write different parts of the buffer in parallel.

The producer can then commit the write with a lock held, and update its
knowledge of the safe empty remaining space.

PR #3757 <https://github.com/Genymobile/scrcpy/pull/3757>
2023-03-10 22:22:15 +01:00
..
data Add --list-displays 2023-03-10 22:22:15 +01:00
prebuilt-deps Upgrade FFmpeg custom builds for Windows 2023-03-10 22:22:15 +01:00
src Add two-step write feature to bytebuf 2023-03-10 22:22:15 +01:00
tests Add two-step write feature to bytebuf 2023-03-10 22:22:15 +01:00
meson.build Introduce bytebuf util 2023-03-10 22:22:15 +01:00
scrcpy-windows.manifest Set DPI awareness for Windows 2021-12-20 19:13:02 +01:00
scrcpy-windows.rc Bump version to 1.25 2022-12-22 12:33:29 +01:00
scrcpy.1 Add --list-displays 2023-03-10 22:22:15 +01:00