summaryrefslogtreecommitdiffstats
path: root/video/out/gl_common.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-28 19:40:52 +0100
committerwm4 <wm4@nowhere>2015-01-28 19:40:52 +0100
commit616481ad290b3bc43d551d946dd5c0fe7423f8b2 (patch)
treecd1fb481d62b3916d5db06a9265460a90d9e27c0 /video/out/gl_common.h
parent3583559164b922673b2ccdb31f810befae613779 (diff)
downloadmpv-616481ad290b3bc43d551d946dd5c0fe7423f8b2.tar.bz2
mpv-616481ad290b3bc43d551d946dd5c0fe7423f8b2.tar.xz
vo_opengl: remove some unused functions
These were intended for some plans that were never realized. Also move some comments around and fix them.
Diffstat (limited to 'video/out/gl_common.h')
-rw-r--r--video/out/gl_common.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/video/out/gl_common.h b/video/out/gl_common.h
index 0143fea843..98b9d9c0c7 100644
--- a/video/out/gl_common.h
+++ b/video/out/gl_common.h
@@ -116,20 +116,10 @@ typedef struct MPGLContext {
void mpgl_lock(MPGLContext *ctx);
void mpgl_unlock(MPGLContext *ctx);
-void mpgl_set_context(MPGLContext *ctx);
-void mpgl_unset_context(MPGLContext *ctx);
-bool mpgl_is_thread_safe(MPGLContext *ctx);
-
-// Create a VO window and create a GL context on it.
-// (Calls config_window_gl3 or config_window+setGlWindow.)
-// gl_flavor: 110 for legacy GL, 210 for GL 2.1 or 3.x core
-// flags: passed to the backend's create window function
-// Returns success.
+
MPGLContext *mpgl_init(struct vo *vo, const char *backend_name, int vo_flags);
void mpgl_uninit(MPGLContext *ctx);
-
-// flags: passed to the backend function
-bool mpgl_reconfig_window(struct MPGLContext *ctx, int flags);
+bool mpgl_reconfig_window(struct MPGLContext *ctx, int vo_flags);
int mpgl_find_backend(const char *name);