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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/kwin/-/commit/7eb9f75af2 |ma/kwin/-/commit/24c9ed3bde
                   |2c4aeeb58e864772912ec060f79 |8a7830e43a2527d05e9099e5e13
                   |826                         |8bd

--- Comment #7 from Vlad Zahorodnii <vlad.zahorod...@kde.org> ---
Git commit 24c9ed3bde8a7830e43a2527d05e9099e5e138bd by Vlad Zahorodnii.
Committed on 21/06/2024 at 13:05.
Pushed by vladz into branch 'Plasma/6.1'.

plugins/glide: Subdivide window quad grid

The way the glide effect works is that it takes 2D geometry and applies
the perspective projection to it on the CPU side. The reason we do it is
that the scene is 2D.

However, this leaves us with the well known problem where a texture
that's mapped to a trapezoid won't be correctly interpolated along the
diagonal.

It can addressed by performing a perspective division in the fragment
shader, but given the way the effect is structured, it's off the table. So
instead subdivide the window grid.


(cherry picked from commit 7eb9f75af22c4aeeb58e864772912ec060f79826)

Co-authored-by: Vlad Zahorodnii <vlad.zahorod...@kde.org>

M  +1    -0    src/plugins/glide/glide.cpp

https://invent.kde.org/plasma/kwin/-/commit/24c9ed3bde8a7830e43a2527d05e9099e5e138bd

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

Reply via email to