mpv/video/out/opengl
wm4 fa9a1ff0a0 vo_gpu: opengl: add hack for ancient Mesa/GLX
glx.h recursively includes gl.h, and there is no way to prevent this.
Old Mesa defines some GL symbols, but not all which mpv needs. In
particular, one user who was too lazy to update his ancient Ubuntu and
preferred to bother us with obscure bug reports, had Mesa headers which
did not define GL 3.2, so GLsync was not defined.

All in all I still think the idea of providing the GL API definitions
ourselves was a good idea; just GLX should have been isolated better.
But isolating GLX now is too much effort.

Not sure why I'm bothering with this at all.

Fixes: #7201 (unconfirmed)
2019-11-30 13:38:28 +01:00
..
angle_dynamic.c
angle_dynamic.h
common.c vo_gpu: opengl: do not free "GL" sub-allocations 2019-11-29 20:23:27 +01:00
common.h
context.c vo_gpu/opengl: fully initialize FBO when passing it to rendering 2019-10-30 15:54:41 +01:00
context.h vo: use a struct for vsync feedback stuff 2018-12-06 10:30:25 +01:00
context_android.c context_android: move common code to a separate file 2019-09-27 00:05:06 +03:00
context_angle.c vo: make swapchain-depth option generic for all VOs 2019-09-28 14:10:01 +03:00
context_cocoa.c
context_drm_egl.c vo: make swapchain-depth option generic for all VOs 2019-09-28 14:10:01 +03:00
context_dxinterop.c vo: make swapchain-depth option generic for all VOs 2019-09-28 14:10:01 +03:00
context_glx.c vo_gpu: context_glx: Add X11 native resource 2019-11-16 15:35:32 -08:00
context_rpi.c rpi: Update for modern systems 2019-09-20 11:39:06 +02:00
context_wayland.c wayland: use eglGetPlatformDisplay() 2019-11-16 14:23:07 -06:00
context_win.c
context_x11egl.c x11: require EGL 1.5 and use eglGetPlatformDisplay() 2019-11-16 20:55:03 +01:00
egl_helpers.c
egl_helpers.h
formats.c
formats.h
gl_headers.h vo_gpu: opengl: add hack for ancient Mesa/GLX 2019-11-30 13:38:28 +01:00
hwdec_d3d11egl.c vo_gpu: hwdec_d3d11egl: add missing P010 format to supported list 2019-10-17 22:45:05 +02:00
hwdec_drmprime_drm.c vo_gpu: hwdec_drmprime_drm: add hwdec ctx 2019-09-27 13:08:27 +02:00
hwdec_dxva2egl.c
hwdec_dxva2gldx.c
hwdec_ios.m
hwdec_osx.c
hwdec_rpi.c
hwdec_vdpau.c vo_gpu: vdpau actually works under EGL 2019-11-07 22:53:13 +01:00
libmpv_gl.c
oml_sync.c oml_sync: fix typo in comment 2019-09-20 00:32:29 +02:00
oml_sync.h vo_gpu: glx: move OML sync code to an independent file 2019-09-08 23:23:43 +10:00
ra_gl.c vo_gpu: opengl: add support for IMGFMT_RGB30 2019-11-02 17:46:46 +01:00
ra_gl.h
utils.c
utils.h