summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/user_shaders.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-07-30 11:38:52 +0200
committerwm4 <wm4@nowhere>2017-07-30 11:38:52 +0200
commit53188a14bf89e70b77139783230789330d8f571f (patch)
tree7da4b7812ef6f63673b5451ad574371ddc8f52fb /video/out/opengl/user_shaders.h
parent5429dbf2a25ecdab2330aa8a24c788e1a2e4f6ed (diff)
downloadmpv-53188a14bf89e70b77139783230789330d8f571f.tar.bz2
mpv-53188a14bf89e70b77139783230789330d8f571f.tar.xz
vo_opengl: manage user shader textures with ra
Drops some features I guess, no idea if those were needed. Untested due to lack of test cases.
Diffstat (limited to 'video/out/opengl/user_shaders.h')
-rw-r--r--video/out/opengl/user_shaders.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/video/out/opengl/user_shaders.h b/video/out/opengl/user_shaders.h
index bb550de2b8..bd36387de9 100644
--- a/video/out/opengl/user_shaders.h
+++ b/video/out/opengl/user_shaders.h
@@ -72,16 +72,16 @@ struct gl_user_shader_hook {
struct gl_user_shader_tex {
struct bstr name;
+ int dimensions;
int w, h, d;
int components;
int bytes;
- int mpgl_type;
- GLenum gl_target;
- GLenum gl_filter;
- GLenum gl_border;
+ enum ra_ctype ctype;
+ bool filter;
+ bool border;
void *texdata;
// for video.c
- GLenum gl_tex;
+ struct ra_tex *tex;
};
// Parse the next shader block from `body`. The callbacks are invoked on every