Bug 423273

Summary: Gradient Map Filter uses uncached colorAt()
Product: [Applications] krita Reporter: Halla Rempt <halla>
Component: FiltersAssignee: 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

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.