From 616481ad290b3bc43d551d946dd5c0fe7423f8b2 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 28 Jan 2015 19:40:52 +0100 Subject: vo_opengl: remove some unused functions These were intended for some plans that were never realized. Also move some comments around and fix them. --- video/out/gl_common.h | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'video/out/gl_common.h') 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); -- cgit v1.2.3