Created attachment 108738 [details] Test pattern Generally multi-threaded brushes in second development build of 4.0 work faster, than default ones, but there are cases, where they get much slower, than previously. It happens, when brush has a big texture (2048px) - stroke gets delayed before appearing. Delay gets even bigger, when texture is upscaled. https://gfycat.com/gifs/detail/EnergeticInsidiousHuemul How to reproduce: - Download a text pattern from the attachment and install it in the resources folder. - In Krita, assign this pattern to random pixel brush. - Create some strokes. - Change texture's scale in pattern settings to higher and create more strokes.
Added to https://phabricator.kde.org/T7309
Add to https://phabricator.kde.org/T7309
Git commit a5712e328d252a25321b030bbc039aea1e4bd796 by Dmitry Kazakov. Committed on 25/11/2017 at 19:55. Pushed by dkazakov into branch 'master'. Fix the delay before starting a stroke with a huge texture The texturing mask should not be recalculated every time. Just cache it in a singleton. Ref T7309 M +1 -0 plugins/paintops/libpaintop/CMakeLists.txt A +229 -0 plugins/paintops/libpaintop/KisTextureMaskInfo.cpp [License: GPL (v2+)] A +89 -0 plugins/paintops/libpaintop/KisTextureMaskInfo.h [License: GPL (v2+)] M +20 -96 plugins/paintops/libpaintop/kis_texture_option.cpp M +3 -11 plugins/paintops/libpaintop/kis_texture_option.h https://commits.kde.org/krita/a5712e328d252a25321b030bbc039aea1e4bd796