]> git.sesse.net Git - movit/blobdiff - diffusion_effect.h
Emulate glReadPixels of GL_ALPHA.
[movit] / diffusion_effect.h
index 2c635d0cd30082d57c08afcd4d46065e266be958..82eda939779b1addd847a9aa7d1cf4640817b7c0 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef _DIFFUSION_EFFECT_H
-#define _DIFFUSION_EFFECT_H 1
+#ifndef _MOVIT_DIFFUSION_EFFECT_H
+#define _MOVIT_DIFFUSION_EFFECT_H 1
 
 // There are many different effects that go under the name of "diffusion",
 // seemingly all of the inspired by the effect you get when you put a
 // where we first blur the picture, and then overlay it on the original
 // using the original as a matte.
 
+#include <epoxy/gl.h>
+#include <assert.h>
+#include <string>
+
 #include "effect.h"
 
+namespace movit {
+
 class BlurEffect;
+class EffectChain;
+class Node;
 class OverlayMatteEffect;
 
 class DiffusionEffect : public Effect {
@@ -52,5 +60,6 @@ private:
        float blurred_mix_amount;
 };
 
+}  // namespace movit
 
-#endif // !defined(_DIFFUSION_EFFECT_H)
+#endif // !defined(_MOVIT_DIFFUSION_EFFECT_H)