[PATCH 10/15] Commented out the usage of the native CompositeOps in the RgbU16 and RGbU8 color spaces.

Silvio Heinrich plassy at web.de
Sun Jan 9 18:02:36 CET 2011


This was done to be able to use the CompositeOps in the pigment library.
---
 .../lcms/colorspaces/rgb_u16/RgbU16ColorSpace.cpp  |   12 ++++++------
 .../lcms/colorspaces/rgb_u8/RgbU8ColorSpace.cpp    |   12 ++++++------
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/plugins/colorengines/lcms/colorspaces/rgb_u16/RgbU16ColorSpace.cpp b/plugins/colorengines/lcms/colorspaces/rgb_u16/RgbU16ColorSpace.cpp
index 785430e..bb70705 100644
--- a/plugins/colorengines/lcms/colorspaces/rgb_u16/RgbU16ColorSpace.cpp
+++ b/plugins/colorengines/lcms/colorspaces/rgb_u16/RgbU16ColorSpace.cpp
@@ -39,15 +39,15 @@ RgbU16ColorSpace::RgbU16ColorSpace(KoColorProfile *p) :
 
     addStandardCompositeOps<KoRgbU16Traits>(this);
 
-    addCompositeOp(new RgbCompositeOpDarken<KoRgbU16Traits>(this));
-    addCompositeOp(new RgbCompositeOpLighten<KoRgbU16Traits>(this));
-    addCompositeOp(new RgbCompositeOpHue<KoRgbU16Traits>(this));
-    addCompositeOp(new RgbCompositeOpSaturation<KoRgbU16Traits>(this));
+//     addCompositeOp(new RgbCompositeOpDarken<KoRgbU16Traits>(this));
+//     addCompositeOp(new RgbCompositeOpLighten<KoRgbU16Traits>(this));
+//     addCompositeOp(new RgbCompositeOpHue<KoRgbU16Traits>(this));
+//     addCompositeOp(new RgbCompositeOpSaturation<KoRgbU16Traits>(this));
     addCompositeOp(new RgbCompositeOpValue<KoRgbU16Traits>(this));
-    addCompositeOp(new RgbCompositeOpColor<KoRgbU16Traits>(this));
+//     addCompositeOp(new RgbCompositeOpColor<KoRgbU16Traits>(this));
     addCompositeOp(new RgbCompositeOpIn<KoRgbU16Traits>(this));
     addCompositeOp(new RgbCompositeOpOut<KoRgbU16Traits>(this));
-    addCompositeOp(new RgbCompositeOpDiff<KoRgbU16Traits>(this));
+//     addCompositeOp(new RgbCompositeOpDiff<KoRgbU16Traits>(this));
     addCompositeOp(new RgbCompositeOpBumpmap<KoRgbU16Traits>(this));
 //     addCompositeOp(new RgbCompositeOpClear<KoRgbU16Traits>(this));
     addCompositeOp(new RgbCompositeOpDissolve<KoRgbU16Traits>(this));
diff --git a/plugins/colorengines/lcms/colorspaces/rgb_u8/RgbU8ColorSpace.cpp b/plugins/colorengines/lcms/colorspaces/rgb_u8/RgbU8ColorSpace.cpp
index 13facca..b87c8a0 100644
--- a/plugins/colorengines/lcms/colorspaces/rgb_u8/RgbU8ColorSpace.cpp
+++ b/plugins/colorengines/lcms/colorspaces/rgb_u8/RgbU8ColorSpace.cpp
@@ -75,15 +75,15 @@ RgbU8ColorSpace::RgbU8ColorSpace(KoColorProfile *p) :
     // ADD, ALPHA_DARKEN, BURN, DIVIDE, DODGE, ERASE, MULTIPLY, OVER, OVERLAY, SCREEN, SUBTRACT
     addStandardCompositeOps<KoRgbU8Traits>(this);
 
-    addCompositeOp(new RgbCompositeOpDarken<KoRgbU8Traits>(this));
-    addCompositeOp(new RgbCompositeOpLighten<KoRgbU8Traits>(this));
-    addCompositeOp(new RgbCompositeOpHue<KoRgbU8Traits>(this));
-    addCompositeOp(new RgbCompositeOpSaturation<KoRgbU8Traits>(this));
+//     addCompositeOp(new RgbCompositeOpDarken<KoRgbU8Traits>(this));
+//     addCompositeOp(new RgbCompositeOpLighten<KoRgbU8Traits>(this));
+//     addCompositeOp(new RgbCompositeOpHue<KoRgbU8Traits>(this));
+//     addCompositeOp(new RgbCompositeOpSaturation<KoRgbU8Traits>(this));
     addCompositeOp(new RgbCompositeOpValue<KoRgbU8Traits>(this));
-    addCompositeOp(new RgbCompositeOpColor<KoRgbU8Traits>(this));
+//     addCompositeOp(new RgbCompositeOpColor<KoRgbU8Traits>(this));
     addCompositeOp(new RgbCompositeOpIn<KoRgbU8Traits>(this));
     addCompositeOp(new RgbCompositeOpOut<KoRgbU8Traits>(this));
-    addCompositeOp(new RgbCompositeOpDiff<KoRgbU8Traits>(this));
+//     addCompositeOp(new RgbCompositeOpDiff<KoRgbU8Traits>(this));
     addCompositeOp(new RgbCompositeOpBumpmap<KoRgbU8Traits>(this));
 //     addCompositeOp(new RgbCompositeOpClear<KoRgbU8Traits>(this));
     addCompositeOp(new RgbCompositeOpDissolve<KoRgbU8Traits>(this));
-- 
1.7.1




More information about the kimageshop mailing list