Summary: | Gradient Map Filter uses uncached colorAt() | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Halla Rempt <halla> |
Component: | Filters | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ginoba, tamtamy.tymona |
Priority: | NOR | ||
Version: | git master (please specify the git hash!) | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | Callgrind map |
Solved by https://invent.kde.org/graphics/krita/-/merge_requests/560 (master) and https://invent.kde.org/graphics/krita/-/merge_requests/561 (4.3) |
Created attachment 129547 [details] Callgrind map the gradient map uses KoStopGradient::colorAt() without any caching which is extremely slow because that retrieves a colorspace all the time. Using the CachedGradient from the gradient painter doesn't seem easy or obvious.