Skip to content

clutter/stage: Only add paint volumes of mapped actors to stage clip

Robert Mader requested to merge rmader/mutter:reduce-overview-overpaint into main

Right now we damage the stage even if an actor is not mapped, for example in the overview.

Stop doing so, reducing over-paint significantly in some situations. Clones will still do stage damage on their own.


Unfortunately screenshots do not capture damage regions, however to give an example of what this does: if there is an application doing fullscreen damage (e.g. a video player or a game), previously to this MR we repainted the whole screen when being in the overview - even if the preview was rather small (when many other apps were open). This makes us only update the preview.

Edited by Robert Mader

Merge request reports