]> git.sesse.net Git - movit/blobdiff - glow_effect.h
Use the ResourcePool to allocate RTT textures in EffectChain.
[movit] / glow_effect.h
index abadb84a4cb332a10d45216d73a2fe6bfa2edc6c..91106e03b08927ab3498d784f3611b05e36aafa8 100644 (file)
@@ -1,14 +1,20 @@
-#ifndef _GLOW_EFFECT_H
-#define _GLOW_EFFECT_H 1
+#ifndef _MOVIT_GLOW_EFFECT_H
+#define _MOVIT_GLOW_EFFECT_H 1
 
 // Glow: Cut out the highlights of the image (everything above a certain threshold),
 // blur them, and overlay them onto the original image.
 
+#include <GL/glew.h>
+#include <assert.h>
+#include <string>
+
 #include "effect.h"
 
 class BlurEffect;
-class MixEffect;
+class EffectChain;
 class HighlightCutoffEffect;
+class MixEffect;
+class Node;
 
 class GlowEffect : public Effect {
 public:
@@ -49,4 +55,4 @@ private:
        float cutoff;
 };
 
-#endif // !defined(_GLOW_EFFECT_H)
+#endif // !defined(_MOVIT_GLOW_EFFECT_H)