]> git.sesse.net Git - movit/blobdiff - diffusion_effect.h
Add some missing tests to .gitignore.
[movit] / diffusion_effect.h
index 624990cbd664d90cd2e6d9ce2649bed96fecb10d..64d743d12eb923bd409b24ddd0d5de508ff5458c 100644 (file)
 // where we first blur the picture, and then overlay it on the original
 // using the original as a matte.
 
+#include <GL/glew.h>
+#include <assert.h>
+#include <string>
+
 #include "effect.h"
 
 class BlurEffect;
+class EffectChain;
+class Node;
 class OverlayMatteEffect;
 
 class DiffusionEffect : public Effect {
@@ -44,6 +50,7 @@ public:
        OverlayMatteEffect();
        virtual std::string effect_type_id() const { return "OverlayMatteEffect"; }
        std::string output_fragment_shader();
+       virtual AlphaHandling alpha_handling() const { return INPUT_PREMULTIPLIED_ALPHA_KEEP_BLANK; }
 
        unsigned num_inputs() const { return 2; }