]> git.sesse.net Git - movit/blobdiff - complex_modulate_effect.h
Release Movit 1.3.2. (From a branch, since I do not want to break ABI compatibility...
[movit] / complex_modulate_effect.h
index 52de229b915eadeb153f177630ea554076f257f3..335c90010754cbe197b5bf9fe58c33a2e2b1f553 100644 (file)
@@ -21,7 +21,7 @@
 // don't care about the actual FFT result, just that the convolution property
 // holds.)
 
-#include <GL/glew.h>
+#include <epoxy/gl.h>
 #include <string>
 
 #include "effect.h"
@@ -41,6 +41,7 @@ public:
        // no way of expressing that currently.
        virtual bool needs_texture_bounce() const { return true; }
        virtual bool changes_output_size() const { return true; }
+       virtual bool sets_virtual_output_size() const { return false; }
 
        virtual void inform_input_size(unsigned input_num, unsigned width, unsigned height);
        virtual void get_output_size(unsigned *width, unsigned *height,
@@ -54,6 +55,7 @@ private:
        EffectChain *chain;
        int primary_input_width, primary_input_height;
        int num_repeats_x, num_repeats_y;
+       float uniform_num_repeats[2];
 };
 
 }  // namespace movit