// Note that Movit's internal formats generally do not have enough accuracy
// for 12-bit input or output.
-#include <GL/glew.h>
+#include <epoxy/gl.h>
#include <string>
#include "effect.h"
virtual void set_gl_state(GLuint glsl_program_num, const std::string &prefix, unsigned *sampler_num);
virtual bool needs_srgb_primaries() const { return false; }
+ virtual bool one_to_one_sampling() const { return true; }
// Actually needs postmultiplied input as well as outputting it.
// EffectChain will take care of that.
private:
GammaCurve destination_curve;
+ float uniform_linear_scale, uniform_c[5], uniform_beta;
};
} // namespace movit