Revision 16c7408...

Go back to digest for 17th March 2013

Optimization in Office

Dmitry Kazakov committed changes in [calligra] /:

Ported Fill Tool to strokes

This patch does 3 major things:
1) Ports the tool to strokes framework

2) Adds KisSimpleProcessingVisitor class which makes creation of new
processings easier (Lukas can use it now in his branch).

3) Adds lazy fetching of the "initial" image set for the qimage-based
tests. Now this set is shared by all the unittests, so there is no
need to store copies of it.

File Changes

Added 5 files
  •   krita/image/processing/kis_simple_processing_visitor.cpp
  •   krita/plugins/tools/defaulttools/processings/fill_processing_visitor.cpp
  •   krita/plugins/tools/defaulttools/processings/fill_processing_visitor.h
  •   krita/plugins/tools/defaulttools/tests/fill_processing_visitor_test.cpp
  •   krita/plugins/tools/defaulttools/tests/fill_processing_visitor_test.h
Modified 32 files
  •   krita/CMakeLists.txt
  •   krita/benchmarks/CMakeLists.txt
  •   krita/image/CMakeLists.txt
  •   krita/image/processing/kis_crop_processing_visitor.cpp
  •   krita/image/processing/kis_crop_processing_visitor.h
  •   krita/image/tests/CMakeLists.txt
  •   krita/image/tests/kis_perspective_transform_worker_test.cpp
  •   krita/image/tests/kis_processings_test.cpp
  •   krita/sdk/tests/qimage_based_test.h
  •   krita/sdk/tests/stroke_testing_utils.cpp
  •   krita/sdk/tests/testutil.h
  •   krita/sdk/tests/ui_manager_test.h
  •   krita/ui/tests/CMakeLists.txt
  •   krita/ui/tests/kis_node_manager_test.cpp
  •   krita/ui/tests/kis_zoom_and_pan_test.cpp
  •   krita/ui/tool/kis_resources_snapshot.cpp
  •   krita/ui/tool/kis_resources_snapshot.h
  •   krita/image/tiles3/tests/CMakeLists.txt
  •   krita/plugins/filters/tests/CMakeLists.txt
  •   krita/plugins/tools/defaulttools/CMakeLists.txt
  •   krita/plugins/tools/defaulttools/kis_tool_fill.cc
  •   krita/plugins/tools/defaulttools/kis_tool_fill.h
  •   krita/plugins/formats/exr/tests/CMakeLists.txt
  •   krita/plugins/formats/jpeg/tests/CMakeLists.txt
  •   krita/plugins/formats/png/tests/CMakeLists.txt
  •   krita/plugins/formats/ppm/tests/CMakeLists.txt
  •   krita/plugins/formats/psd/tests/CMakeLists.txt
  •   krita/plugins/formats/tiff/tests/CMakeLists.txt
  •   krita/plugins/formats/xcf/tests/CMakeLists.txt
  •   krita/plugins/paintops/libbrush/tests/CMakeLists.txt
  •   krita/plugins/paintops/mypaint/tests/CMakeLists.txt
  •   krita/plugins/tools/defaulttools/tests/CMakeLists.txt
37 files changed in total