diff options
author | wm4 <wm4@nowhere> | 2014-12-19 20:29:31 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-12-19 20:29:31 +0100 |
commit | d31e5842929c98913fab0546b984ec4e153b2386 (patch) | |
tree | 73cee4ad1764d2ca031bbd240b9c06dbb6824fb9 /video/out/gl_common.c | |
parent | b7277d25e54757b9cb57ac4727776b7aa5fc59ec (diff) | |
download | mpv-d31e5842929c98913fab0546b984ec4e153b2386.tar.bz2 mpv-d31e5842929c98913fab0546b984ec4e153b2386.tar.xz |
vo_opengl, x11: add ES context creation via GLX
Apparently GLX can do this, so using EGL is not strictly required.
This code tries to create an ES context if creating a desktop GL context
fails. Also, a "x11es" backend for forcing ES (instead of desktop GL) is
added, mostly for testing and debugging.
Diffstat (limited to 'video/out/gl_common.c')
-rw-r--r-- | video/out/gl_common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/gl_common.c b/video/out/gl_common.c index 7d043fb9ae..79d6dd73ad 100644 --- a/video/out/gl_common.c +++ b/video/out/gl_common.c @@ -864,6 +864,7 @@ static const struct backend backends[] = { #endif #if HAVE_GL_X11 {"x11", mpgl_set_backend_x11}, + {"x11es", mpgl_set_backend_x11es}, #endif #if HAVE_EGL_X11 {"x11egl", mpgl_set_backend_x11egl}, |