X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=effect_chain.h;h=038fb1c875e282616db5d2193ea02ade2cfad958;hp=54cf0e5d88869aec8e7e8e812bb0f4a44ec6797e;hb=5278bd9c038dd9f2d56b4de52c904426dfe0b6fe;hpb=f34b1c36acd27944f00885edfc55363432bfec8e diff --git a/effect_chain.h b/effect_chain.h index 54cf0e5..038fb1c 100644 --- a/effect_chain.h +++ b/effect_chain.h @@ -195,15 +195,15 @@ struct Phase { std::map effect_ids; // Uniforms for this phase; combined from all the effects. - std::vector > uniforms_image2d; - std::vector > uniforms_sampler2d; - std::vector > uniforms_bool; - std::vector > uniforms_int; - std::vector > uniforms_float; - std::vector > uniforms_vec2; - std::vector > uniforms_vec3; - std::vector > uniforms_vec4; - std::vector > uniforms_mat3; + std::vector> uniforms_image2d; + std::vector> uniforms_sampler2d; + std::vector> uniforms_bool; + std::vector> uniforms_int; + std::vector> uniforms_float; + std::vector> uniforms_vec2; + std::vector> uniforms_vec3; + std::vector> uniforms_vec4; + std::vector> uniforms_mat3; // For measurement of GPU time used. std::list timer_query_objects_running; @@ -458,7 +458,7 @@ private: Phase *construct_phase(Node *output, std::map *completed_effects); // Execute one phase, ie. set up all inputs, effects and outputs, and render the quad. - void execute_phase(Phase *phase, bool last_phase, + void execute_phase(Phase *phase, bool render_to_texture, std::map *output_textures, std::set *generated_mipmaps);