Diffusion Krita 0b4c3f9339d9

Optimize autobrush mask generation by 15-20%

Authored by dkazakov on Apr 8 2016, 3:26 PM.

Description

Optimize autobrush mask generation by 15-20%

Just skip areas with n > 1. They are outsize the brush bounds, so
there is no reason to work with them.

And yes, it gives something like 15% better performance :)

(cherry picked from commit 282d2f0c60eb7adae6ae63fc5a83c311a809853f)

Details

Committed
zachmannApr 11 2016, 3:22 PM
Parents
R37:5d59709c37c8: Fix a bug introduced by porting to Vc 1.2
Branches
Unknown
Tags
Unknown