kwin/autotests/drm
David Edmundson 10ed34bc9d Avoid painting unchanged scene layers
Currently when we move the mouse the one render loop triggers a repaint.
When the cursor layer needs a new update we end up in the compositor
repainting the main content.

Even though painting should mostly no-op it still goes through all
existing items and effects to collect damage, still potentially making
the GL context current which could stall. A waste when we know we
haven't got anything to do. It's enough to cause noticable mouse lag on
some hardware.

Co-authored-by: Vlad Zahorodnii <vlad.zahorodnii@kde.org>
2023-08-28 11:38:18 +00:00
..
CMakeLists.txt backends/drm: rework how atomic commits are tracked 2023-07-27 12:30:19 +02:00
drmTest.cpp Avoid painting unchanged scene layers 2023-08-28 11:38:18 +00:00
mock_drm.cpp backends/drm: offload atomic commits to a separate thread 2023-07-26 13:44:36 +02:00
mock_drm.h backends/drm: offload atomic commits to a separate thread 2023-07-26 13:44:36 +02:00