]> git.sesse.net Git - movit/blobdiff - mirror_effect.h
Add a diffusion effect, and hook it up in the GUI.
[movit] / mirror_effect.h
index 6b07ea9433622e0b93c87b319d1ee31267978d68..343eb173a52a96c717ee5bc49c44314bb9db6ae4 100644 (file)
@@ -1,12 +1,17 @@
 #ifndef _MIRROR_EFFECT_H
 #define _MIRROR_EFFECT_H 1
 
 #ifndef _MIRROR_EFFECT_H
 #define _MIRROR_EFFECT_H 1
 
+// A simple horizontal mirroring.
+
 #include "effect.h"
 
 class MirrorEffect : public Effect {
 public:
        MirrorEffect();
        std::string output_fragment_shader();
 #include "effect.h"
 
 class MirrorEffect : public Effect {
 public:
        MirrorEffect();
        std::string output_fragment_shader();
+
+       virtual bool needs_linear_light() const { return false; }
+       virtual bool needs_srgb_primaries() const { return false; }
 };
 
 #endif // !defined(_MIRROR_EFFECT_H)
 };
 
 #endif // !defined(_MIRROR_EFFECT_H)