https://bugs.kde.org/show_bug.cgi?id=515568

Zamundaaa <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/-/commit/85666673a2
                   |                            |ab7ca85fad81a917bd4059c66d0
                   |                            |fb2

--- Comment #4 from Zamundaaa <[email protected]> ---
Git commit 85666673a2ab7ca85fad81a917bd4059c66d0fb2 by Xaver Hugl.
Committed on 27/03/2026 at 14:09.
Pushed by zamundaaa into branch 'master'.

plugins/blur: make the scene responsible for expanding repaint regions

The compositor can only get the repaint regions after prePaint, as it needs to
know which items are affected by an effect, and which items to put on output
layers.
The blur effect however needed the repaint regions in prePaint, in order to
expand the regions to avoid artifacts in blur rendering.

To break that dependency cycle, this introduces a new BackgroundEffectItem,
which the blur effect inserts into the scene. When collecting damage regions,
the scene simply takes the BackgroundEffectItem into account, doing the same
things as the blur effect did before.

M  +3    -1    src/CMakeLists.txt
M  +9    -48   src/plugins/blur/blur.cpp
M  +3    -4    src/plugins/blur/blur.h
A  +48   -0    src/scene/backgroundeffectitem.cpp     [License: GPL(v2.0+)]
A  +42   -0    src/scene/backgroundeffectitem.h     [License: GPL(v2.0+)]
M  +5    -0    src/scene/windowitem.cpp
M  +1    -1    src/scene/windowitem.h
M  +37   -16   src/scene/workspacescene.cpp

https://invent.kde.org/plasma/kwin/-/commit/85666673a2ab7ca85fad81a917bd4059c66d0fb2

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to