]> git.sesse.net Git - movit/blobdiff - effect_chain.h
Fix some invalid code in DeinterlaceTest; GCC 7 would optimize it into simply an...
[movit] / effect_chain.h
index 6a6539955c4adf43bb4938cde62c70e39c9b19b0..6d9d062d747f4901c39e6b7681a6b4365c7d3939 100644 (file)
@@ -364,6 +364,9 @@ public:
        void reset_phase_timing();
        void print_phase_timing();
 
+       // Note: If you already know the width and height of the viewport,
+       // calling render_to_fbo() directly will be slightly more efficient,
+       // as it saves it from getting it from OpenGL.
        void render_to_screen()
        {
                render_to_fbo(0, 0, 0);
@@ -443,7 +446,6 @@ private:
 
        // Execute one phase, ie. set up all inputs, effects and outputs, and render the quad.
        void execute_phase(Phase *phase, bool last_phase,
-                          std::set<GLint> *bound__attribute_indices,
                           std::map<Phase *, GLuint> *output_textures,
                           std::set<Phase *> *generated_mipmaps);