Skip to content
Commit 10ed34bc authored by David Edmundson's avatar David Edmundson Committed by Vlad Zahorodnii
Browse files

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: default avatarVlad Zahorodnii <vlad.zahorodnii@kde.org>
parent fe1d4ffb
Pipeline #468854 passed with stage
in 8 minutes and 58 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment