]> git.sesse.net Git - movit/blobdiff - test_util.h
In EffectChainTester, there is no point in making the FBO and texture persistent.
[movit] / test_util.h
index f413a39ca65251681b53c169d9e874da48988d2a..f786708e5a6172f527ff0dea36e542b14c700586 100644 (file)
@@ -29,9 +29,12 @@ public:
 private:
        void finalize_chain(Colorspace color_space, GammaCurve gamma_curve, OutputAlphaFormat alpha_format);
 
+       template<class T>
+       void internal_run(T *out_data, GLenum internal_format, GLenum format, Colorspace color_space, GammaCurve gamma_curve, OutputAlphaFormat alpha_format = OUTPUT_ALPHA_FORMAT_POSTMULTIPLIED);
+
        EffectChain chain;
-       GLuint fbo, texnum;
        unsigned width, height;
+       GLenum framebuffer_format;
        bool output_added;
        bool finalized;
 };