https://bugs.kde.org/show_bug.cgi?id=458475
Dmitry Kazakov <dimul...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |RESOLVED Latest Commit|785619b |https://invent.kde.org/grap | |hics/krita/commit/faee475b1 | |6081146c760aa2ff33aca48a03d | |26d5 Resolution|--- |FIXED --- Comment #12 from Dmitry Kazakov <dimul...@gmail.com> --- Git commit faee475b16081146c760aa2ff33aca48a03d26d5 by Dmitry Kazakov. Committed on 25/04/2023 at 12:48. Pushed by dkazakov into branch 'master'. Fix a huge slowdown with mesh transform added as a transform mask The Mesh Transform used to have very rough approximations for needRect and changeRect functions (basically, all touched patches were dragged into the changeRect). It caused each update thread to update the whole image, instead of its own part of it (which was slow). The patch introduces a better approximation of need/changeRects using a binary search in the param space followed by random rect sampling. M +1 -0 libs/global/CMakeLists.txt A +215 -0 libs/global/KisBezierPatchParamSpaceUtils.h [License: GPL(v2.0+)] A +82 -0 libs/global/KisBezierPatchParamToSourceSampler.h [License: GPL(v2.0+)] M +1 -1 libs/global/KisBezierUtils.h M +17 -0 libs/global/KisCppQuirks.h A +80 -0 libs/global/KisSampleRectIterator.cpp [License: GPL(v2.0+)] A +69 -0 libs/global/KisSampleRectIterator.h [License: GPL(v2.0+)] M +12 -0 libs/global/kis_algebra_2d.h M +170 -12 libs/image/KisBezierTransformMesh.cpp M +9 -0 libs/image/KisBezierTransformMesh.h M +0 -1 libs/image/kis_transform_mask.cpp M +192 -0 libs/image/tests/kis_mesh_transform_worker_test.cpp M +8 -0 libs/image/tests/kis_mesh_transform_worker_test.h M +16 -0 sdk/tests/testutil.h https://invent.kde.org/graphics/krita/commit/faee475b16081146c760aa2ff33aca48a03d26d5 -- You are receiving this mail because: You are watching all bug changes.