1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-25 00:53:22 +00:00
mpv/video/out/opengl
wm4 1c8d2246bf vo_gpu: vdpau actually works under EGL
The use of glXGetCurrentDisplay() restricted this to the GLX backend.
But actually it works under EGL as well. Removing the GLX-specific call
and using the general mpv-internal method to get the X "Display" makes
it work in mpv.

I didn't know this. Nvidia didn't list this as extension in the EGL
context when I still used their GPUs.

Note that this might in theory break use of vdpau in some libmpv clients
using the render API. But only if MPV_RENDER_PARAM_X11_DISPLAY is not
used, and they relied on mpv using glXGetCurrentDisplay(). EGL does not
provide such an API, and hwdec_vaapi.c also uses what hwdec_vdpau.c uses
now. Considering that vaapi is preferable these days, it's not bad at
all if these clients get "broken". They can be easily fixed by passing
the display to mpv correctly.
2019-11-07 22:53:13 +01:00
..
angle_dynamic.c
angle_dynamic.h
common.c
common.h
context_android.c
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
context_rpi.c
context_wayland.c wayland: fix presentation time 2019-10-20 19:50:10 +00:00
context_win.c
context_x11egl.c
context.c vo_gpu/opengl: fully initialize FBO when passing it to rendering 2019-10-30 15:54:41 +01:00
context.h
egl_helpers.c
egl_helpers.h
formats.c
formats.h
gl_headers.h
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.h
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