https://bugs.kde.org/show_bug.cgi?id=433187
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/33e3b92946a7 |ma/kwin/commit/705e4fcc6888 |e645e6a6b221f32b0f2c565d8fd |52fec50c08559b6b58e2df2c097 |1 |3 --- Comment #2 from Vlad Zahorodnii <vlad.zahorod...@kde.org> --- Git commit 705e4fcc688852fec50c08559b6b58e2df2c0973 by Vlad Zahorodnii. Committed on 19/02/2021 at 16:42. Pushed by vladz into branch 'Plasma/5.21'. effects/wobblywindows: Allow model geometry and real geometry get out of sync Currently, the wobbly windows effect assumes that the window data will be updated on every repaint. However, there are legit cases when the time diff between frames can be 0, for example when per screen rendering is on. If we are unlucky enough and the geometry of the window changes in that very short moment, the mapping between window quads and the bezier patch will be wrong. The window will most likely bounce back and forth. In order to improve handling of that tricky case, this change makes the computeBezierPoint() function take the "uv" coordinates rather than the absolute "xy" coordinates of window vertices. This loosens the connection between the real geometry of the window and the cached bezier patch, and overall makes the effect's timing code more robust. This can be also useful if the wobbly windows effect starts accumulating time diffs and performing the integration step every N msecs with the purpose of maintaining uniform "wobbliness" across different refresh rates. (cherry picked from commit 33e3b92946a7e645e6a6b221f32b0f2c565d8fd1) M +6 -8 effects/wobblywindows/wobblywindows.cpp https://invent.kde.org/plasma/kwin/commit/705e4fcc688852fec50c08559b6b58e2df2c0973 -- You are receiving this mail because: You are watching all bug changes.