mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-27 08:09:22 +00:00
The DRM receive thread copied every converted frame out of libdrmtap's context buffer into a recycled slot buffer: one full-frame memcpy per frame, about 33 MB at 4K. drmtap_set_output_buffer, exported by every libdrmtap 0.5.x, lets the conversion write into that buffer directly. Same approach as #16808, reduced to the minimal change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JAxkkiaGp2k8okvs4MpCUq