]> git.sesse.net Git - movit/blob - mirror_effect.h
 Remove the code for postmultiplied alpha from OverlayEffect.
[movit] / mirror_effect.h
1 #ifndef _MIRROR_EFFECT_H
2 #define _MIRROR_EFFECT_H 1
3
4 // A simple horizontal mirroring.
5
6 #include "effect.h"
7
8 class MirrorEffect : public Effect {
9 public:
10         MirrorEffect();
11         virtual std::string effect_type_id() const { return "MirrorEffect"; }
12         std::string output_fragment_shader();
13
14         virtual bool needs_linear_light() const { return false; }
15         virtual bool needs_srgb_primaries() const { return false; }
16         virtual AlphaHandling alpha_handling() const { return DONT_CARE_ALPHA_TYPE; }
17 };
18
19 #endif // !defined(_MIRROR_EFFECT_H)