https://bugs.kde.org/show_bug.cgi?id=355104
Dmitry Kazakov <dimul...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit| |http://commits.kde.org/krit | |a/08fd3aa8e554557728f60f857 | |1e51364070c09e8 Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #8 from Dmitry Kazakov <dimul...@gmail.com> --- Git commit 08fd3aa8e554557728f60f8571e51364070c09e8 by Dmitry Kazakov. Committed on 25/03/2016 at 12:08. Pushed by dkazakov into branch 'master'. Fix "openGL lag at zoom 2000 + rotation" The problem was not related to the openGL actualy. It was caused by the implementation of QPainter::clipRegion() which generated 20k+ rectangles from a rotated rect when rotation angle was near to a 0 or 90deg. WARNING for the future: Never use QPainter::clipRegion(). Use KisPaintingUtils::safeClipRegion() instead. It workarounds the issue returning a bit bigger rect. Fixes T1446 CC:kimages...@kde.org M +3 -1 libs/flake/KoShapeContainer.cpp M +3 -1 libs/flake/KoShapeManager.cpp M +0 -3 libs/flake/tools/KoCreateShapeStrategy.cpp M +0 -2 libs/flake/tools/KoShapeRubberSelectStrategy.cpp M +1 -0 libs/global/CMakeLists.txt A +51 -0 libs/global/kis_painting_tweaks.cpp [License: GPL (v2+)] A +45 -0 libs/global/kis_painting_tweaks.h [License: GPL (v2+)] M +4 -1 plugins/flake/textshape/TextShape.cpp M +2 -1 plugins/flake/textshape/textlayout/KoTextLayoutArea_paint.cpp M +3 -1 plugins/flake/vectorshape/VectorShape.cpp http://commits.kde.org/krita/08fd3aa8e554557728f60f8571e51364070c09e8 -- You are receiving this mail because: You are watching all bug changes.