+ struct Phase {
+ GLint glsl_program_num;
+ bool input_needs_mipmaps;
+ unsigned start, end;
+ };
+
+ void normalize_to_linear_gamma();
+ void normalize_to_srgb();
+
+ // Create a GLSL program computing effects [start, end>.
+ Phase compile_glsl_program(unsigned start_index, unsigned end_index);
+