mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-02-16 10:40:59 +00:00
Sharing these directly is fraught with concurrency issues that require extreme care on both sides to avoid spurious X11 errors, hangs, and other nasty stuff. We can't necessarily depend on SDL, libva, or the underlying VA drivers to do the right thing here. Using a new Display (as FFmpeg does for VAAPI and VDPAU) avoids all these problems.