X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=effect_chain.h;fp=effect_chain.h;h=ee387a954613edc8629b49762d720e339479d9ab;hp=35931f8058fb1a7d763fdb7572ccd2f94bb4d945;hb=c6ee050546b6940ae19a74f92bdcc8d2b1f56d22;hpb=7366e74b75fa1ac3267709c12417179819b86acb diff --git a/effect_chain.h b/effect_chain.h index 35931f8..ee387a9 100644 --- a/effect_chain.h +++ b/effect_chain.h @@ -481,8 +481,11 @@ private: unsigned x, unsigned y, unsigned width, unsigned height); // Execute one phase, ie. set up all inputs, effects and outputs, and render the quad. - void execute_phase(Phase *phase, bool render_to_texture, - std::map *output_textures, + // If dest_texture is 0, uses whatever output is current (and the phase must not be + // a compute shader). + void execute_phase(Phase *phase, + const std::map &output_textures, + GLuint dest_texture, std::set *generated_mipmaps); // Set up uniforms for one phase. The program must already be bound.