mirror of
https://github.com/mpv-player/mpv
synced 2025-02-04 06:01:56 +00:00
0067d1dbef
This is actually a pretty important fix. eglChooseConfig() might be the first thing that fails when porobing for desktop GL / ES2 / ES3 support, because EGL_RENDERABLE_TYPE is set values specific to the underlying APIs. Not sure how the hell this worked before. EGL 1.4 implementations certainly could fail the call with EGL_BAD_ATTRIBUTE if EGL_RENDERABLE_TYPE has EGL_OPENGL_ES3_BIT set. It's quite possible that many EGL implementations tolerate invalid EGLConfig values steming from uininitialized EGLConfig values (and eglCreateWindowSurface() even is specified to return EGL_BAD_CONFIG error code for "not valid" EGLConfigs). |
||
---|---|---|
.. | ||
angle_dynamic.c | ||
angle_dynamic.h | ||
common.c | ||
common.h | ||
context_angle.c | ||
context_cocoa.c | ||
context_drm_egl.c | ||
context_dxinterop.c | ||
context_mali_fbdev.c | ||
context_rpi.c | ||
context_w32.c | ||
context_wayland.c | ||
context_x11.c | ||
context_x11egl.c | ||
context.c | ||
context.h | ||
cuda_dynamic.c | ||
cuda_dynamic.h | ||
egl_helpers.c | ||
egl_helpers.h | ||
formats.c | ||
formats.h | ||
header_fixes.h | ||
hwdec_cuda.c | ||
hwdec_d3d11egl.c | ||
hwdec_d3d11eglrgb.c | ||
hwdec_dxva2.c | ||
hwdec_dxva2egl.c | ||
hwdec_dxva2gldx.c | ||
hwdec_osx.c | ||
hwdec_rpi.c | ||
hwdec_vaegl.c | ||
hwdec_vaglx.c | ||
hwdec_vdpau.c | ||
hwdec.c | ||
hwdec.h | ||
lcms.c | ||
lcms.h | ||
osd.c | ||
osd.h | ||
user_shaders.c | ||
user_shaders.h | ||
utils.c | ||
utils.h | ||
video_shaders.c | ||
video_shaders.h | ||
video.c | ||
video.h |