https://bugs.kde.org/show_bug.cgi?id=501932

Dmitry Kazakov <dimul...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/krita/-/commit/d211566
                   |                            |997174204c611148941f8683399
                   |                            |c76678
             Status|CONFIRMED                   |RESOLVED

--- Comment #2 from Dmitry Kazakov <dimul...@gmail.com> ---
Git commit d211566997174204c611148941f8683399c76678 by Dmitry Kazakov.
Committed on 27/03/2025 at 13:20.
Pushed by dkazakov into branch 'master'.

Fix speed regression in Dissolve blendmode

When porting to Qt6 qrand() was directly replaced to
QRandomGenerator::global(), while the latter one uses a global
mutex inside, which makes Dissolve blendmode work extremely slow.
Hence we should use a local copy of a random generator to remove this
bottle-neck.

The bug was introduced by:
https://invent.kde.org/graphics/krita/-/commit/af99e90fa8a4dbbb98059c3c8a4d72daffbbda1d

M  +14   -2    libs/pigment/compositeops/KoCompositeOpDissolve.h
M  +4    -3    plugins/tools/basictools/kis_tool_multihand.cpp
M  +2    -0    plugins/tools/basictools/kis_tool_multihand.h

https://invent.kde.org/graphics/krita/-/commit/d211566997174204c611148941f8683399c76678

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to