kwin/plugins/scenes/opengl
Vlad Zahorodnii f2c8981f7e [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.

BUG: 387313
FIXED-IN: 5.19.0

Differential Revision: https://phabricator.kde.org/D29131
2020-05-04 15:36:30 +03:00
..
shaders
CMakeLists.txt
lanczosfilter.cpp [scenes/opengl] Discard cached Lanczos textures for all toplevels 2019-12-02 15:14:21 +02:00
lanczosfilter.h
opengl.json SVN_SILENT made messages (.desktop file) - always resolve ours 2019-12-07 05:38:05 +01:00
resources.qrc
scene_opengl.cpp [scene] Generate window quads for sub-surfaces 2020-05-04 15:36:30 +03:00
scene_opengl.h [scene] Generate window quads for sub-surfaces 2020-05-04 15:36:30 +03:00