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

--- Comment #26 from Vlad Zahorodnii <vlad.zahorod...@kde.org> ---
Aha, I have a theory why it happens. The WindowThumbnail item will delay the
destruction of the thumbnail texture to avoid destroying a texture which is
still in use.

On the other hand, the GLTexture seems to have a ref-counted VBO
(https://invent.kde.org/plasma/kwin/-/blob/bd3d275293821acd490a8d4e28e59860b8f0bae5/src/libkwineffects/kwingltexture.cpp#L295),
which is destroyed when the last texture is gone.

Since the thumbnail texture can be alive even after compositing has been
re-initialized. KWin can continue using old VBO, which is long time gone.

Just to confirm my theory, I made the WindowThumbnail destroy the thumbnail
texture immediately and it seems like there are no glitches anymore..

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

Reply via email to