kwin/plugins
Vlad Zahorodnii b8a70e62d5 Introduce RenderLoop
At the moment, our frame scheduling infrastructure is still heavily
based on Xinerama-style rendering. Specifically, we assume that painting
is driven by a single timer, etc.

This change introduces a new type - RenderLoop. Its main purpose is to
drive compositing on a specific output, or in case of X11, on the
overlay window.

With RenderLoop, compositing is synchronized to vblank events. It
exposes the last and the next estimated presentation timestamp. The
expected presentation timestamp can be used by effects to ensure that
animations are synchronized with the upcoming vblank event.

On Wayland, every outputs has its own render loop. On X11, per screen
rendering is not possible, therefore the platform exposes the render
loop for the overlay window. Ideally, the Scene has to expose the
RenderLoop, but as the first step towards better compositing scheduling
it's good as is for the time being.

The RenderLoop tries to minimize the latency by delaying compositing as
close as possible to the next vblank event. One tricky thing about it is
that if compositing is too close to the next vblank event, animations
may become a little bit choppy. However, increasing the latency reduces
the choppiness.

Given that, there is no any "silver bullet" solution for the choppiness
issue, a new option has been added in the Compositing KCM to specify the
amount of latency. By default, it's "Medium," but if a user is not
satisfied with the upstream default, they can tweak it.
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 Introduce RenderLoop 2021-01-06 16:59:29 +00:00
qpa Remove fixqopengl.h 2020-12-10 12:00:20 +02:00
scenes Introduce RenderLoop 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