summaryrefslogtreecommitdiffstats
path: root/video/out/gl_common.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-07-22 01:21:39 +0200
committerwm4 <wm4@nowhere>2013-07-22 01:50:22 +0200
commit1ff35c3a20a3e0d8444eb1f6f1632db37255d761 (patch)
tree1449da2a0d39fa236f6a4e0f4c55239b6f02765a /video/out/gl_common.h
parent5e0ee41617387118deb463663176fb4d52a0a6e3 (diff)
downloadmpv-1ff35c3a20a3e0d8444eb1f6f1632db37255d761.tar.bz2
mpv-1ff35c3a20a3e0d8444eb1f6f1632db37255d761.tar.xz
vo_opengl_old: use new option API
Diffstat (limited to 'video/out/gl_common.h')
-rw-r--r--video/out/gl_common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/video/out/gl_common.h b/video/out/gl_common.h
index a5e3125fba..ed63491c1a 100644
--- a/video/out/gl_common.h
+++ b/video/out/gl_common.h
@@ -30,6 +30,7 @@
#include "config.h"
#include "core/mp_msg.h"
+#include "core/bstr.h"
#include "vo.h"
#include "video/csputils.h"
@@ -154,6 +155,10 @@ bool mpgl_config_window(struct MPGLContext *ctx, int gl_caps, uint32_t d_width,
int mpgl_find_backend(const char *name);
+struct m_option;
+int mpgl_validate_backend_opt(const struct m_option *opt, struct bstr name,
+ struct bstr param);
+
void mpgl_set_backend_cocoa(MPGLContext *ctx);
void mpgl_set_backend_w32(MPGLContext *ctx);
void mpgl_set_backend_x11(MPGLContext *ctx);