From 97363e176d180f4f1bbc1e67e3e513c493ce31ed Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Sat, 5 Sep 2015 17:39:27 +0200 Subject: vo_opengl: implement debanding (and remove source-shader) The removal of source-shader is a side effect, since this effectively replaces it - and the video-reading code has been significantly restructured to make more sense and be more readable. This means users no longer have to constantly download and maintain a separate deband.glsl installation alongside mpv, which was the only real use case for source-shader that we found either way. --- video/out/opengl/utils.h | 1 + 1 file changed, 1 insertion(+) (limited to 'video/out/opengl/utils.h') diff --git a/video/out/opengl/utils.h b/video/out/opengl/utils.h index fae4e67a39..f560354bb9 100644 --- a/video/out/opengl/utils.h +++ b/video/out/opengl/utils.h @@ -125,6 +125,7 @@ void gl_sc_destroy(struct gl_shader_cache *sc); void gl_sc_add(struct gl_shader_cache *sc, const char *text); void gl_sc_addf(struct gl_shader_cache *sc, const char *textf, ...); void gl_sc_hadd(struct gl_shader_cache *sc, const char *text); +void gl_sc_haddf(struct gl_shader_cache *sc, const char *textf, ...); const char *gl_sc_loadfile(struct gl_shader_cache *sc, const char *path); void gl_sc_uniform_sampler(struct gl_shader_cache *sc, char *name, GLenum target, int unit); -- cgit v1.2.3