diff options
author | Anton Kindestam <antonki@kth.se> | 2018-03-04 11:16:47 +0100 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2018-03-04 16:56:06 -0800 |
commit | 33cffdcbac354179756db732c03b87026f710e8e (patch) | |
tree | fa9b126ee561ddc20dded1289fbff84bee86ab21 /video/out/opengl/context_angle.c | |
parent | f0223e1b835894a20989523555a0f4e19cd36619 (diff) | |
download | mpv-33cffdcbac354179756db732c03b87026f710e8e.tar.bz2 mpv-33cffdcbac354179756db732c03b87026f710e8e.tar.xz |
context_drm_egl: Allow fallback EGLConfig formats
It turns out that Mali drivers are likely broken, and do not return
GBM_FORMAT_ARGB8888 (they return GBM_FORMAT_XRGB8888) when getting
EGL_NATIVE_VISUAL_ID for any EGLConfig, even though the resulting
EGLConfig appears to be capable of alpha.
It could also be potentially useful to allow an ARGB EGLConfig used
with an XRGB framebuffer on some platforms, so we do that. (cf. weston)
Unrelated indentation fix in gbm_format_to_string.
Diffstat (limited to 'video/out/opengl/context_angle.c')
0 files changed, 0 insertions, 0 deletions