Bug 423273 - Gradient Map Filter uses uncached colorAt()
Summary: Gradient Map Filter uses uncached colorAt()
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Filters (show other bugs)
Version: git master (please specify the git hash!)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-20 13:48 UTC by Halla Rempt
Modified: 2021-01-09 15:23 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Callgrind map (123.51 KB, image/png)
2020-06-20 13:48 UTC, Halla Rempt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Halla Rempt 2020-06-20 13:48:33 UTC
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.