koffice

Boudewijn Rempt boud at valdyas.org
Wed Sep 13 20:22:07 CEST 2006


SVN commit 583883 by rempt:

Refactored pigment to allow pluggable composite ops -- the bits of
code that blend two pixels together, a la porter-duff. I have disabled
all colorspaces except rgbu8, alpha and lab, and rgbu8 is enabled only
by a hack pending the discussion I expect will happen shortly on how
to discourage code duplication through templates. For now, everything
seems to compile and Krita starts up.

Basically, every composite op for every depth for every colorspace
is now an object with a composite() method that does the work; whether we
need to expose this object outside pigment, or provide merely a proxy KoID
object is up for discussion.

Also added some Krita documentation, updated the todo, removed the old
startkrita for binary (autopackage-type) releases and removed some warnings.

CCMAIL: kimageshop at kde.org


 M  +3 -1      filters/krita/openexr/kis_openexr_import.cpp  
 M  +3 -2      filters/krita/raw/kis_raw_import.cpp  
 M  +6 -0      krita/UIcomments  
 M  +9 -11     krita/colorspaces/CMakeLists.txt  
 M  +1 -1      krita/colorspaces/cmyk_u16/kis_cmyk_u16_colorspace.cc  
 M  +1 -1      krita/colorspaces/cmyk_u16/kis_cmyk_u16_colorspace.h  
 M  +1 -1      krita/colorspaces/cmyk_u8/kis_cmyk_colorspace.cc  
 M  +1 -1      krita/colorspaces/cmyk_u8/kis_cmyk_colorspace.h  
 M  +1 -1      krita/colorspaces/gray_u16/kis_gray_u16_colorspace.cc  
 M  +1 -1      krita/colorspaces/gray_u16/kis_gray_u16_colorspace.h  
 M  +1 -1      krita/colorspaces/gray_u8/kis_gray_colorspace.cc  
 M  +1 -1      krita/colorspaces/gray_u8/kis_gray_colorspace.h  
 M  +1 -1      krita/colorspaces/lms_f32/kis_lms_f32_colorspace.cc  
 M  +1 -1      krita/colorspaces/lms_f32/kis_lms_f32_colorspace.h  
 M  +1 -1      krita/colorspaces/rgb_f16half/kis_rgb_f16half_colorspace.cc  
 M  +1 -1      krita/colorspaces/rgb_f16half/kis_rgb_f16half_colorspace.h  
 M  +1 -1      krita/colorspaces/rgb_f32/kis_rgb_f32_colorspace.cc  
 M  +1 -1      krita/colorspaces/rgb_f32/kis_rgb_f32_colorspace.h  
 M  +1 -1      krita/colorspaces/rgb_u16/kis_rgb_u16_colorspace.cc  
 M  +1 -1      krita/colorspaces/rgb_u16/kis_rgb_u16_colorspace.h  
 M  +1 -41     krita/colorspaces/rgb_u8/CMakeLists.txt  
 M  +28 -1197  krita/colorspaces/rgb_u8/kis_rgb_colorspace.cc  
 M  +2 -30     krita/colorspaces/rgb_u8/kis_rgb_colorspace.h  
 A             krita/colorspaces/rgb_u8/kis_rgb_u8_compositeop.cc   [License: GPL (v2+)]
 A             krita/colorspaces/rgb_u8/kis_rgb_u8_compositeop.h   [License: UNKNOWN]
 M  +1 -1      krita/colorspaces/wet/kis_wet_colorspace.cc  
 M  +1 -1      krita/colorspaces/wet/kis_wet_colorspace.h  
 M  +1 -1      krita/colorspaces/wetsticky/kis_wet_sticky_colorspace.cc  
 M  +1 -1      krita/colorspaces/wetsticky/kis_wet_sticky_colorspace.h  
 M  +1 -1      krita/colorspaces/ycbcr_u16/kis_ycbcr_u16_colorspace.cc  
 M  +1 -1      krita/colorspaces/ycbcr_u16/kis_ycbcr_u16_colorspace.h  
 M  +1 -1      krita/colorspaces/ycbcr_u8/kis_ycbcr_u8_colorspace.cc  
 M  +1 -1      krita/colorspaces/ycbcr_u8/kis_ycbcr_u8_colorspace.h  
 A             krita/doc/LAB color, 2 sample chapters  
 A             krita/doc/color profile aware color adjustment  
 A             krita/doc/more_uicomments  
 M  +1 -1      krita/image/kis_adjustment_layer.cc  
 M  +3 -0      krita/image/kis_filter.h  
 M  +1 -0      krita/image/kis_gradient_painter.cc  
 M  +2 -2      krita/image/kis_group_layer.cc  
 M  +9 -11     krita/image/kis_image.cc  
 M  +4 -5      krita/image/kis_image.h  
 M  +11 -11    krita/image/kis_layer.cc  
 M  +4 -4      krita/image/kis_layer.h  
 M  +2 -1      krita/image/kis_paint_device.cc  
 M  +8 -8      krita/image/kis_painter.cc  
 M  +65 -31    krita/image/kis_painter.h  
 M  +1 -1      krita/kritacolor/colorspaces/kis_xyz_colorspace.cc  
 M  +1 -1      krita/kritacolor/colorspaces/kis_xyz_colorspace.h  
 M  +1 -2      krita/plugins/filters/imageenhancement/kis_simple_noise_reducer.cpp  
 M  +1 -1      krita/plugins/tools/defaulttools/kis_tool_brush.cc  
 M  +1 -1      krita/plugins/tools/selectiontools/kis_tool_select_brush.cc  
 M  +1 -1      krita/plugins/tools/selectiontools/kis_tool_select_eraser.cc  
 M  +2 -2      krita/plugins/tools/selectiontools/kis_tool_select_outline.cc  
 M  +2 -2      krita/plugins/tools/selectiontools/kis_tool_select_polygonal.cc  
 M  +1 -1      krita/plugins/viewplugins/CMakeLists.txt  
 M  +1 -1      krita/plugins/viewplugins/performancetest/perftest.cc  
 M  +1 -1      krita/plugins/viewplugins/performancetest/perftest.h  
 D             krita/startkrita  
 M  +11 -2     krita/todo-2.0  
 M  +2 -2      krita/ui/kis_autogradient.cc  
 M  +7 -7      krita/ui/kis_cmb_composite.cc  
 M  +4 -4      krita/ui/kis_cmb_composite.h  
 M  +1 -1      krita/ui/kis_dlg_adjustment_layer.cc  
 M  +4 -3      krita/ui/kis_dlg_layer_properties.cc  
 M  +2 -2      krita/ui/kis_dlg_layer_properties.h  
 M  +1 -1      krita/ui/kis_dlg_new_layer.cc  
 M  +1 -1      krita/ui/kis_dlg_new_layer.h  
 M  +1 -0      krita/ui/kis_dlg_preferences.cc  
 M  +18 -26    krita/ui/kis_doc.cc  
 M  +4 -5      krita/ui/kis_doc.h  
 M  +9 -3      krita/ui/kis_filters_listview.cc  
 M  +5 -3      krita/ui/kis_filters_listview.h  
 M  +2 -2      krita/ui/kis_layerbox.cc  
 M  +2 -2      krita/ui/kis_layerbox.h  
 M  +1 -1      krita/ui/kis_part_layer.cc  
 M  +6 -6      krita/ui/kis_ruler.cc  
 M  +3 -3      krita/ui/kis_savexml_visitor.h  
 A             krita/ui/kis_shape_layer.h   [License: GPL (v2+)]
 M  +1 -1      krita/ui/kis_tool_freehand.cc  
 M  +5 -5      krita/ui/kis_tool_paint.cc  
 M  +2 -2      krita/ui/kis_tool_paint.h  
 M  +2 -2      krita/ui/kis_view.cc  
 M  +1 -1      krita/ui/kis_view.h  
 M  +2 -1      libs/kopainter/KoUniColorChooser.cpp  
 M  +1 -1      libs/koproperty/property.cpp  
 M  +69 -4     libs/pigment/KoColorSpace.cpp  
 M  +120 -15   libs/pigment/KoColorSpace.h  
 M  +19 -102   libs/pigment/KoCompositeOp.cpp  
 M  +92 -67    libs/pigment/KoCompositeOp.h  
 M  +134 -57   libs/pigment/KoLcmsColorSpaceTrait.cpp  
 M  +24 -28    libs/pigment/KoLcmsColorSpaceTrait.h  
 M  +234 -118  libs/pigment/colorspaces/KoAlphaColorSpace.cpp  
 M  +1 -15     libs/pigment/colorspaces/KoAlphaColorSpace.h  
 M  +169 -259  libs/pigment/colorspaces/KoLabColorSpace.cpp  
 M  +0 -38     libs/pigment/colorspaces/KoLabColorSpace.h  
 M  +1 -1      libs/store/KoEncryptedStore.cpp  




More information about the kimageshop mailing list