From 10befa26d952ac2c403da1adcb3d36c300af0567 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 17 Dec 2014 21:48:23 +0100 Subject: vo_opengl: GLES 3 support Tested with MESA on software emulation. Seems to work well, although the default FBO format in opengl-hq disables most interesting features. I have no idea how well it will work on real hardware (or if it does at all). Unfortunately, some features, including playback of 10 bit video, are not supported. Not sure what to do about this. GLES 2 or 1 do not work. --- video/out/gl_common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'video/out/gl_common.h') diff --git a/video/out/gl_common.h b/video/out/gl_common.h index 3f86d74036..7ec06fc248 100644 --- a/video/out/gl_common.h +++ b/video/out/gl_common.h @@ -156,6 +156,7 @@ void mpgl_set_backend_cocoa(MPGLContext *ctx); void mpgl_set_backend_w32(MPGLContext *ctx); void mpgl_set_backend_x11(MPGLContext *ctx); void mpgl_set_backend_x11egl(MPGLContext *ctx); +void mpgl_set_backend_x11egles(MPGLContext *ctx); void mpgl_set_backend_wayland(MPGLContext *ctx); void mpgl_load_functions(GL *gl, void *(*getProcAddress)(const GLubyte *), @@ -169,6 +170,7 @@ void mp_log_source(struct mp_log *log, int lev, const char *src); //function pointers loaded from the OpenGL library struct GL { + bool es; // false: desktop GL, true: GLES int version; // MPGL_VER() mangled int glsl_version; // e.g. 130 for GLSL 1.30 char *extensions; // Equivalent to GL_EXTENSIONS -- cgit v1.2.3