]> git.sesse.net Git - movit/blobdiff - test_util.h
Allow setting the intermediate texture format; useful for reducing bandwidth at the...
[movit] / test_util.h
index 1f9e47fa207725bb944f59ffdd3406ab174d7fe0..69efe358b10d60b0e0556751b7d1d6ea313cee1f 100644 (file)
@@ -15,7 +15,8 @@ public:
                          MovitPixelFormat pixel_format = FORMAT_GRAYSCALE,
                          Colorspace color_space = COLORSPACE_sRGB,
                          GammaCurve gamma_curve = GAMMA_LINEAR,
-                         GLenum framebuffer_format = GL_RGBA16F_ARB);
+                         GLenum framebuffer_format = GL_RGBA16F_ARB,
+                         GLenum intermediate_format = GL_RGBA16F_ARB);
        ~EffectChainTester();
        
        EffectChain *get_chain() { return &chain; }