1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-04 06:01:56 +00:00
mpv/video/out/opengl
wm4 0067d1dbef vo_opengl: egl: handle potential eglChooseConfig failures
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).
2016-12-31 14:58:46 +01:00
..
angle_dynamic.c angle_dynamic: silence warnings during compilation 2016-11-25 09:49:49 +01:00
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 vo_opengl: context_rpi: fix stdatomic usage 2016-10-21 17:35:48 +02:00
context_w32.c
context_wayland.c
context_x11.c vo_opengl: x11: move RGBA visual test to x11_common.c 2016-12-30 20:04:32 +01:00
context_x11egl.c vo_opengl: x11egl: fix alpha mode 2016-12-30 20:04:47 +01:00
context.c
context.h
cuda_dynamic.c vo_opengl: hwdec_cuda: Prefix cuda symbols to avoid collisions 2016-11-24 20:15:57 +01:00
cuda_dynamic.h vo_opengl: hwdec_cuda: Prefix cuda symbols to avoid collisions 2016-11-24 20:15:57 +01:00
egl_helpers.c vo_opengl: egl: handle potential eglChooseConfig failures 2016-12-31 14:58:46 +01:00
egl_helpers.h vo_opengl: egl_helpers: add a way to override config selection 2016-12-30 20:03:50 +01:00
formats.c
formats.h
header_fixes.h
hwdec_cuda.c vo_opengl: hwdec_cuda: Don't include hwcontext headers 2016-12-04 20:41:42 +01:00
hwdec_d3d11egl.c vo_opengl: hwdec_d3d11egl: fix ANGLE fallback define 2016-11-23 01:09:19 +01:00
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 vo_opengl: don't rely on viewport to contain window dimensions 2016-12-02 15:26:45 +01:00
utils.h vo_opengl: don't rely on viewport to contain window dimensions 2016-12-02 15:26:45 +01:00
video_shaders.c
video_shaders.h
video.c vo_opengl: partially fix rotation for 4:2:2 content 2016-12-28 15:10:48 +01:00
video.h options: remove deprecated sub-option handling for --vo and --ao 2016-11-25 21:17:25 +01:00