https://bugs.kde.org/show_bug.cgi?id=477455
Vlad Zahorodnii <vlad.zahorod...@kde.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit| |https://invent.kde.org/plas | |ma/kwin/-/commit/2e78ae2b6d | |c2a05061e0e729595d22dbd97eb | |52d Resolution|--- |FIXED Status|CONFIRMED |RESOLVED --- Comment #2 from Vlad Zahorodnii <vlad.zahorod...@kde.org> --- Git commit 2e78ae2b6dc2a05061e0e729595d22dbd97eb52d by Vlad Zahorodnii. Committed on 19/12/2023 at 10:00. Pushed by vladz into branch 'master'. core: Fix pixel grid snapping in RenderViewport Our painting code is assumed to work as following: scale the geometry, snap it to the pixel grid, apply the render transform, e.g. flip the geometry vertically. However, with QMatrix4x4 in RenderViewport, we have a slightly different order: scale the geometry, apply the render transform, snap to the pixel grid. It results in mapToRenderTarget() not properly mapping logical geometry to the device geometry, which later manifests as glitches. M +1 -0 src/CMakeLists.txt A +38 -0 src/core/pixelgrid.h [License: GPL(v2.0+)] M +20 -0 src/core/rendertarget.cpp M +2 -0 src/core/rendertarget.h M +26 -39 src/core/renderviewport.cpp M +2 -2 src/core/renderviewport.h M +2 -8 src/plugins/startupfeedback/startupfeedback.cpp M +4 -10 src/scene/itemrenderer_opengl.cpp https://invent.kde.org/plasma/kwin/-/commit/2e78ae2b6dc2a05061e0e729595d22dbd97eb52d -- You are receiving this mail because: You are watching all bug changes.