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

Vlad Zahorodnii <vlad.zahorod...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
   Version Fixed In|                            |5.19.0
      Latest Commit|                            |https://commits.kde.org/kwi
                   |                            |n/f2c8981f7e5fe9cd18a72888a
                   |                            |2f199f483e8e983

--- Comment #65 from Vlad Zahorodnii <vlad.zahorod...@kde.org> ---
Git commit f2c8981f7e5fe9cd18a72888a2f199f483e8e983 by Vlad Zahorodnii.
Committed on 04/05/2020 at 12:36.
Pushed by vladz into branch 'master'.

[scene] Generate window quads for sub-surfaces

No window quads are generated for sub-surfaces right now. This leads to
issues with effects that operate on window quads, e.g. magic lamp and
wobbly windows. Furthermore, the OpenGL scene needs window quads to
properly clip windows during the rendering process.

The best way to render sub-surfaces would be with a little help from a
scene graph. Contrary to GNOME, KDE hasn't developed any scene graph
implementation that we could use in kwin. As a short term solution, this
change adjusts the scene to generate window quads.

Window quads are generated as we traverse the current window pixmap tree
in the depth-first search manner. In order to match a list of quads with
a particular WindowPixmap, we assign an id to each quad.
FIXED-IN: 5.19.0

Differential Revision: https://phabricator.kde.org/D29131

M  +159  -151  plugins/scenes/opengl/scene_opengl.cpp
M  +22   -12   plugins/scenes/opengl/scene_opengl.h
M  +99   -28   scene.cpp
M  +34   -0    scene.h

https://commits.kde.org/kwin/f2c8981f7e5fe9cd18a72888a2f199f483e8e983

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

Reply via email to