diff options
author | wm4 <wm4@nowhere> | 2015-09-23 22:13:03 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-09-23 22:13:03 +0200 |
commit | 17cd6798a69ca2fea1d7e7df692c71172183731f (patch) | |
tree | 9708d64e0d52379ad80b489c45c145194033e33a /video/out/opengl/utils.h | |
parent | d8d4e188352160a2eac0e004d341ab5c3f997e6e (diff) | |
download | mpv-17cd6798a69ca2fea1d7e7df692c71172183731f.tar.bz2 mpv-17cd6798a69ca2fea1d7e7df692c71172183731f.tar.xz |
vo_opengl: move shader file caching to video.c
It's just about loading and cachign small files, not does not
necessarily have anything to do with shaders. Move it to video.c where
it's used.
Diffstat (limited to 'video/out/opengl/utils.h')
-rw-r--r-- | video/out/opengl/utils.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/video/out/opengl/utils.h b/video/out/opengl/utils.h index 75cedd6efe..ffcaa4da0f 100644 --- a/video/out/opengl/utils.h +++ b/video/out/opengl/utils.h @@ -121,14 +121,12 @@ void gl_set_debug_logger(GL *gl, struct mp_log *log); struct gl_shader_cache; -struct gl_shader_cache *gl_sc_create(GL *gl, struct mp_log *log, - struct mpv_global *global); +struct gl_shader_cache *gl_sc_create(GL *gl, struct mp_log *log); 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); void gl_sc_uniform_f(struct gl_shader_cache *sc, char *name, GLfloat f); |