Revision 0a7994f...
Go back to digest for 4th September 2011Features in Office
Boudewijn Rempt committed changes in [calligra] /:
Do not use QRegion in KisToolFreehand
The use of QRegion was responsible for about 25% of execution time.
Changing it to QVector<QRect> makes painting noticeably faster. Now
the canvas calling qpainter::drawImage tops the execution time chart.
File Changes
Modified 6 files
- krita/image/kis_indirect_painting_support.cpp
- krita/image/kis_indirect_painting_support.h
- krita/ui/tool/kis_tool_freehand.cc
- krita/ui/tool/kis_tool_freehand.h
- krita/ui/widgets/kis_scratch_pad.cpp
- krita/plugins/tools/defaulttools/kis_tool_multihand.cpp
6 files changed in total