Added caching for dabs into the brush paintop
This patch adds caching of the dabs to the paint op system of Krita. Such cache makes the execution of the benchmarks up to 2 times faster. Subjectively, the real painting becomes much faster, especially with huge brushes. Artists report up to 20% speed gain while painting. Of course, such caching makes the painting a bit less precise: we need to tolerate subpixel differences to allow the cache to work. Sometimes small difference in the size of a dab can also be acceptable. That is why I introduced levels of precision. They are graded from 1 to 5: from the fastest and less precise to the slowest, but with the best quality. You can see the slider in the paintop settings dialog. The ToolTip text explains which features of the brush are sacrificed on each precision level. The texturing and mirroring problems are solved. My next steps are: make this cache tolerate bug 307588 and port it to other brush-based paitops. CC:kimageshop@kde.org REVIEW:106724
parent
242dbe30
Please register or sign in to comment