kwin/plugins/platforms/x11
Vlad Zahorodnii 76effae5ca platforms/x11: Disable swap events by default on Intel
Some users reported performances issues after recent compositing
scheduling changes, in particular animations being laggy.

The issue is that sometimes it may take more than a vblank interval for
a buffer swap to complete. Previously, compositing was driven by a
timer and it wasn't synchronized to vblanks. If some frame is running
late, the compositor will just start painting a new frame, i.e. the
screen will be rendered triple buffered.

This change disables the swap events code path on Intel to restore the
previous behavior. Unfortunately, that may add an extra frame of latency.

The swap events code path can be enabled explicitly on Intel by setting
the KWIN_USE_INTEL_SWAP_EVENT environment variable to 1.
2021-02-01 18:51:59 +00:00
..
common Remove redundant usesOverlayWindow() method 2021-01-27 13:57:56 +00:00
standalone platforms/x11: Disable swap events by default on Intel 2021-02-01 18:51:59 +00:00
windowed GIT_SILENT: dont use deprecated cmake variable 2021-01-29 11:34:52 +01:00
CMakeLists.txt