https://bugs.kde.org/show_bug.cgi?id=411352
Tiar <tamtamy.tym...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit| |https://invent.kde.org/grap | |hics/krita/commit/00f86a7e5 | |540464a9c4e3a6c5a0300e41edb | |43f6 Resolution|--- |FIXED Status|ASSIGNED |RESOLVED --- Comment #8 from Tiar <tamtamy.tym...@gmail.com> --- Git commit 00f86a7e5540464a9c4e3a6c5a0300e41edb43f6 by Agata Cacko. Committed on 03/10/2021 at 13:22. Pushed by tymond into branch 'master'. Move Perspective assistant drawing to drawAssistant from drawCache Before this commit, the grid of the Perspective Assistant was drawn in the drawCache, which caused performance issues when using the perspective assistant and zooming in a lot. (test method: zoom in a lot, so it's around 1600%, and then zoom in and out very quickly using your mouse wheel. It's instant with this patch, but slow without the patch. Note that if the Configure Krita -> Display -> Canvas Acceleration is off, it's still super slow). This commit does two things: - crops the drawn lines to the viewport - moves the whole drawing action to drawAssistant Note: just cropping the drawn lines, but still using the cache, didn't improve the assistants performance that much. There must be some inherent issue with this caching method. M +42 -32 plugins/assistants/Assistants/PerspectiveAssistant.cc https://invent.kde.org/graphics/krita/commit/00f86a7e5540464a9c4e3a6c5a0300e41edb43f6 -- You are receiving this mail because: You are watching all bug changes.