diff options
author | wm4 <wm4@nowhere> | 2016-09-13 17:03:24 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-09-13 18:26:06 +0200 |
commit | 0ccceecdc61ba913d7dc591432ebd3b00836b9bd (patch) | |
tree | f234e994d6d89f17ea32a86b8432466dc170745b /video/out/opengl/context.c | |
parent | 6dc9280b580835d37fa8a8664b6bc142254ce1a1 (diff) | |
download | mpv-0ccceecdc61ba913d7dc591432ebd3b00836b9bd.tar.bz2 mpv-0ccceecdc61ba913d7dc591432ebd3b00836b9bd.tar.xz |
vo_opengl: mali fbdev support
Minimal support just for testing.
Only the window surface creation (including size determination) is
really platform specific, so this could be some generic thing with
platform-specific support as some sort of sub-driver, but on the other
hand I don't see much of a need for such a thing.
While most of the fbdev usage is done by the EGL driver, using this
fbdev ioctl is apparently the only way to get the display resolution.
Diffstat (limited to 'video/out/opengl/context.c')
-rw-r--r-- | video/out/opengl/context.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/video/out/opengl/context.c b/video/out/opengl/context.c index a8058fb18c..a22227562a 100644 --- a/video/out/opengl/context.c +++ b/video/out/opengl/context.c @@ -45,6 +45,7 @@ extern const struct mpgl_driver mpgl_driver_angle; extern const struct mpgl_driver mpgl_driver_angle_es2; extern const struct mpgl_driver mpgl_driver_dxinterop; extern const struct mpgl_driver mpgl_driver_rpi; +extern const struct mpgl_driver mpgl_driver_mali; static const struct mpgl_driver *const backends[] = { #if HAVE_RPI @@ -78,6 +79,9 @@ static const struct mpgl_driver *const backends[] = { #if HAVE_EGL_DRM &mpgl_driver_drm_egl, #endif +#if HAVE_MALI_FBDEV + &mpgl_driver_mali, +#endif }; // 0-terminated list of desktop GL versions a backend should try to |