X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=effect_chain.h;h=d97ef25d1fe428f07b4e94c4a6ed3ef4b0c2ece1;hp=9622abc0eef1abf824b3b83f2c9fbdd151eef104;hb=affe96389941123d20354ad8091977aa196a741c;hpb=a592c55caca0fb654bad4ec43b84c46abcee21c2 diff --git a/effect_chain.h b/effect_chain.h index 9622abc..d97ef25 100644 --- a/effect_chain.h +++ b/effect_chain.h @@ -46,10 +46,15 @@ public: void render_to_screen(unsigned char *src); private: + void normalize_to_linear_gamma(); + void normalize_to_srgb(); + unsigned width, height; ImageFormat input_format, output_format; std::vector effects; + bool use_srgb_texture_format; + int glsl_program_num; bool finalized;