Flip some need bits in the conversion effects.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 1 Oct 2012 22:03:12 +0000 (00:03 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 1 Oct 2012 22:03:12 +0000 (00:03 +0200)
colorspace_conversion_effect.h
gamma_compression_effect.h
gamma_expansion_effect.h

index e487d70..6efc2a2 100644 (file)
@@ -9,6 +9,8 @@ public:
        ColorSpaceConversionEffect();
        std::string output_glsl();
 
+       virtual bool needs_srgb_primaries() { return false; }
+
 private:
        ColorSpace source_space, destination_space;
 };
index ec2a77a..fdc6eee 100644 (file)
@@ -9,6 +9,8 @@ public:
        GammaCompressionEffect();
        std::string output_glsl();
 
+       virtual bool needs_srgb_primaries() { return false; }
+
 private:
        GammaCurve destination_curve;
 };
index d161c92..41d4bf0 100644 (file)
@@ -9,6 +9,9 @@ public:
        GammaExpansionEffect();
        std::string output_glsl();
 
+       virtual bool needs_linear_light() { return false; }
+       virtual bool needs_srgb_primaries() { return false; }
+
 private:
        GammaCurve source_curve;
 };