summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/common.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-09-27 16:10:22 +0200
committerwm4 <wm4@nowhere>2015-09-27 16:18:06 +0200
commit2e5df94f0f479a477e436c019a72c03498141159 (patch)
tree520ee75e32912141b025c859e23c23212160476d /video/out/opengl/common.h
parent0c494c238a33c6f003f5fb31e2bb5f5399e3c141 (diff)
downloadmpv-2e5df94f0f479a477e436c019a72c03498141159.tar.bz2
mpv-2e5df94f0f479a477e436c019a72c03498141159.tar.xz
vo_opengl: vaapi: redo how EGL extensions are loaded
It looks like my hope that we can unconditionally include EGL headers in the OpenGL code is not coming true, because OSX does not support EGL at all. So I prefer loading the VAAPI EGL/GL specific extensions manually, because it's less of a mess. Partially reverts commit d47dff3f.
Diffstat (limited to 'video/out/opengl/common.h')
-rw-r--r--video/out/opengl/common.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/video/out/opengl/common.h b/video/out/opengl/common.h
index 675447db54..0e3566d689 100644
--- a/video/out/opengl/common.h
+++ b/video/out/opengl/common.h
@@ -46,11 +46,6 @@
#include <GL/glext.h>
#endif
-#if HAVE_EGL
-#include <EGL/egl.h>
-#include <EGL/eglext.h>
-#endif
-
#define MP_GET_GL_WORKAROUNDS
#include "header_fixes.h"
@@ -273,12 +268,6 @@ struct GL {
GLint (GLAPIENTRY *GetVideoSync)(GLuint *);
GLint (GLAPIENTRY *WaitVideoSync)(GLint, GLint, unsigned int *);
- EGLImageKHR (EGLAPIENTRY *CreateImageKHR)(EGLDisplay, EGLContext,
- EGLenum, EGLClientBuffer,
- const EGLint *);
- EGLBoolean (EGLAPIENTRY *DestroyImageKHR)(EGLDisplay, EGLImageKHR);
- void (EGLAPIENTRY *EGLImageTargetTexture2DOES)(GLenum, GLeglImageOES);
-
void (GLAPIENTRY *DebugMessageCallback)(MP_GLDEBUGPROC callback,
const void *userParam);