kwin/plugins
Vlad Zahorodnii 0ceff5fd24 Swap buffers after finishing a compositing cycle
The compositing timing algorithm assumes that glXSwapBuffers() and
eglSwapBuffers() block. While this was true long time ago with NVIDIA
drivers, nowadays, it's not the case. The NVIDIA driver queues
several buffers in advance and if the application runs out of them,
it will block. With Mesa driver, swapping buffer was never blocking.

This change makes the render backends swap buffers right after ending
a compositing cycle. This may potentially block, but it shouldn't be
an issue with modern drivers. In case it gets proven, we can move
glXSwapBuffers() and eglSwapBuffers() in a separate thread.

Note that this change breaks the compositing timing algorithm, but
it's already sort of broken with Mesa drivers.
2021-01-06 16:59:29 +00:00
..
colord-integration Introduce ColorManager component 2020-12-13 23:53:33 +02:00
idletime Consistently name some KF5 integration plugins 2020-11-23 16:44:42 +00:00
kdecorations Trim trailing whitespace 2020-11-28 11:01:47 +00:00
kglobalaccel Consistently name some KF5 integration plugins 2020-11-23 16:44:42 +00:00
kpackage SVN_SILENT made messages (.desktop file) - always resolve ours 2020-09-30 06:16:48 +02:00
krunner-integration KRunner integration: Send window pixmap along 2020-12-29 21:22:36 +00:00
nightcolor plugins/nightcolor: Handle new color devices 2020-12-21 20:43:17 +02:00
platforms Swap buffers after finishing a compositing cycle 2021-01-06 16:59:29 +00:00
qpa Remove fixqopengl.h 2020-12-10 12:00:20 +02:00
scenes Swap buffers after finishing a compositing cycle 2021-01-06 16:59:29 +00:00
screencast Port wayland code away from factory methods in KWaylandServer::Display 2020-12-14 13:05:47 +00:00
windowsystem Consistently name some KF5 integration plugins 2020-11-23 16:44:42 +00:00
CMakeLists.txt Introduce ColorManager component 2020-12-13 23:53:33 +02:00