diff options
author | wm4 <wm4@nowhere> | 2016-09-13 20:30:03 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-09-13 20:35:53 +0200 |
commit | 9def3682d159043cd5d6c32c22b15b3b9fc45c44 (patch) | |
tree | b8987dc30ba593b1f10760da348775ef8241cc9f /video/out/opengl/context_rpi.h | |
parent | 5819a4e301c3babe94ffe0a9eb80e0a512b9b646 (diff) | |
download | mpv-9def3682d159043cd5d6c32c22b15b3b9fc45c44.tar.bz2 mpv-9def3682d159043cd5d6c32c22b15b3b9fc45c44.tar.xz |
vo_rpi, vo_opengl: separate RPI/EGL-specific code for both VOs
This used to be shared, but since vo_rpi is going to be removed,
untangle them. There was barely any actual code shared since the recent
changes anyway.
As a subtle change, we also stop opening libGLESv2.so explicitly in the
vo_opengl backend, and use RTLD_DEFAULT instead.
Diffstat (limited to 'video/out/opengl/context_rpi.h')
-rw-r--r-- | video/out/opengl/context_rpi.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/video/out/opengl/context_rpi.h b/video/out/opengl/context_rpi.h deleted file mode 100644 index 60bd9c72d2..0000000000 --- a/video/out/opengl/context_rpi.h +++ /dev/null @@ -1,21 +0,0 @@ -#include <bcm_host.h> - -#include <EGL/egl.h> -#include <EGL/eglext.h> - -#include "common.h" - -struct mp_egl_rpi { - struct mp_log *log; - struct GL *gl; - EGLDisplay egl_display; - EGLConfig egl_config; - EGLContext egl_context; - EGLSurface egl_surface; - // yep, the API keeps a pointer to it - EGL_DISPMANX_WINDOW_T egl_window; -}; - -int mp_egl_rpi_init(struct mp_egl_rpi *p, DISPMANX_ELEMENT_HANDLE_T window, - int w, int h); -void mp_egl_rpi_destroy(struct mp_egl_rpi *p); |