X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=effect_chain.h;h=6d9d062d747f4901c39e6b7681a6b4365c7d3939;hp=6a6539955c4adf43bb4938cde62c70e39c9b19b0;hb=c6e29f22390eeba00e8504425eedbafb8b3722c1;hpb=4f52c8e16cc4d99da79d384f45f5b3a6fab40d87 diff --git a/effect_chain.h b/effect_chain.h index 6a65399..6d9d062 100644 --- a/effect_chain.h +++ b/effect_chain.h @@ -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 *bound__attribute_indices, std::map *output_textures, std::set *generated_mipmaps);