From 0ccceecdc61ba913d7dc591432ebd3b00836b9bd Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 13 Sep 2016 17:03:24 +0200 Subject: 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. --- video/out/opengl/context.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'video/out/opengl/context.c') 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 -- cgit v1.2.3