// 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 <epoxy/gl.h>
#include <assert.h>
#include <string>
#include "effect.h"
+namespace movit {
+
class BlurEffect;
class EffectChain;
class HighlightCutoffEffect;
std::string output_fragment_shader();
virtual AlphaHandling alpha_handling() const { return INPUT_PREMULTIPLIED_ALPHA_KEEP_BLANK; }
+ virtual bool one_to_one_sampling() const { return true; }
private:
float cutoff;
};
+} // namespace movit
+
#endif // !defined(_MOVIT_GLOW_EFFECT_H)