Revision 7432258...

Go back to digest for 2nd September 2012

Optimization in Office

Boudewijn Rempt committed changes in [calligra] /image:

Change QRegion to QRect in KisIndirectPaintSupport

Instead of adding a rect to a region for every dab, we coalesce the
footprints into a big rect. This makes painting faster, but at the end
of the stroke we do much more work since we bitBlt the whole united
rect to the target layer, instead of just the rects the stroke touched.

Note: we might be able to remove the mutex, too.

File Changes

Modified 2 files
  • /image
  •   krita/kis_indirect_painting_support.cpp
  •   krita/kis_indirect_painting_support.h
2 files changed in total