Diffusion Krita ba552427f2fd

Remove caching from DabCache

Authored by nishantjr on Jun 21 2016, 11:26 AM.

Description

Remove caching from DabCache

The thing that seems to be slowing down drawing for large auto-brushes (1000px)
is the allocation of memory and not the rendering of the DAB.
renderMirrorMaskSafe is making a copy of the entire brush, thus defeating the
DabCache.

Later, I'll probably add some sort of memory pool to reduce these large
allocations or, if needed, cache the last few Dabs used.

Details

Committed
nishantjrJul 11 2016, 1:02 PM
Parents
R37:23e1ebba6d88: Fix transformation being applied twice in DeformBrush
Branches
Unknown
Tags
Unknown