kwin/plugins/scenes
Vlad Zahorodnii 9c20df5030 screencast: Use fences to avoid stalling the graphics pipeline
Currently, we use glFinish() to ensure that stream consumers don't see
corrupted or rather incomplete buffers. This is a serious issue because
glFinish() not only prevents the gpu from processing new GL commands,
but it also blocks the compositor.

This change addresses the blocking issue by using native fences. With
the proposed change, after finishing recording a frame, a fence is
inserted in the command stream. When the native fence is signaled, the
pending pipewire buffer will be enqueued.

If the EGL_ANDROID_native_fence_sync extension is not supported, we'll
fall back to using glFinish().
2020-10-19 14:23:06 +00:00
..
opengl screencast: Use fences to avoid stalling the graphics pipeline 2020-10-19 14:23:06 +00:00
qpainter SVN_SILENT made messages (.desktop file) - always resolve ours 2020-09-30 06:16:48 +02:00
xrender SVN_SILENT made messages (.desktop file) - always resolve ours 2020-09-30 06:16:48 +02:00
CMakeLists.txt Cleanup style in CMakeLists.txt files 2019-09-17 16:03:05 +03:00