Optimize predefined Mask generator
Open, Needs TriagePublic


Predefined mask generator biggest time usage is the method Qpainter::drawImage from Qt
However diggging into the method seems to have a SIMD implementation.

The plan for this task is as follows

  • Refactor generateMaskAndApplyMaskOrCreateDab to avoid conditions inside loops
  • Make a version of transform to work from loaded QImage to KisFixedPaintDevice
  • Create optimze vectorize version of implemented transform.