]> git.sesse.net Git - movit/blobdiff - test_util.h
Factorize out some stuff from EffectChainTester::run().
[movit] / test_util.h
index 2430b8fbf3c0952ea41829866c500be04be33a14..d149fe135d8b2e381e160a983469a2a991a194cb 100644 (file)
@@ -17,9 +17,12 @@ public:
        void run(float *out_data, GLenum format, Colorspace color_space, GammaCurve gamma_curve);
 
 private:
+       void finalize_chain(Colorspace color_space, GammaCurve gamma_curve);
+
        EffectChain chain;
        GLuint fbo, texnum;
        unsigned width, height;
+       bool finalized;
 };
 
 void expect_equal(const float *ref, const float *result, unsigned width, unsigned height, float largest_difference_limit = 1.5 / 255.0, float rms_limit = 0.2 / 255.0);