X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=effect_chain.h;h=5b6996487c3244a8b7ddb380a840ad8e72c0d730;hp=855c3f52bf2b308c8090e384df8f9779f5aab23e;hb=e1d0cc9aecf612f61d048fe0e4941c17d8f8f2f2;hpb=c3718fbd4be80a2825e7fdc66eb54a516e4c4df1 diff --git a/effect_chain.h b/effect_chain.h index 855c3f5..5b69964 100644 --- a/effect_chain.h +++ b/effect_chain.h @@ -63,10 +63,11 @@ private: struct Phase { GLint glsl_program_num; bool input_needs_mipmaps; - std::vector inputs; + std::vector inputs; // Only from other phases; input textures are not counted here. std::vector effects; // In order. }; + void set_use_srgb_texture_format(Effect *effect); Effect *normalize_to_linear_gamma(Effect *input); Effect *normalize_to_srgb(Effect *input); @@ -82,6 +83,7 @@ private: unsigned width, height; ImageFormat output_format; std::vector effects; + std::vector inputs; // Also contained in effects. std::map effect_ids; std::map effect_output_textures; std::map > outgoing_links;