mirror of
https://github.com/mpv-player/mpv
synced 2024-12-18 04:45:33 +00:00
8d8a2045bd
Should work much better than the old GLX interop code. Requires Mesa 11, and explicitly selecting the X11 EGL backend with: --vo=opengl:backend=x11egl Should it turn out that the new interop works well, we will try to autodetect EGL by default. This code still uses some bad assumptions, like expecting surfaces to be in NV12. (This is probably ok, because virtually all HW will use this format. But we should at least check this on init or so, instead of failing to render an image if our assumption doesn't hold up.) This repo was a lot of help: https://github.com/gbeauchesne/ffvademo The kodi code was also helpful (the magic FourCC it uses for EGL_LINUX_DRM_FOURCC_EXT are nowhere documented, and EGL_IMAGE_INTERNAL_FORMAT_EXT as used in ffvademo does not actually exist). (This is the 3rd VAAPI GL interop that was implemented in this player.) |
||
---|---|---|
.. | ||
lib/Parse | ||
lua | ||
osxbundle/mpv.app/Contents | ||
vf_dlopen | ||
dylib-unhell.py | ||
file2string.pl | ||
gen-x11-icon.sh | ||
idet.sh | ||
matroska.pl | ||
mpv_identify.sh | ||
old-configure | ||
old-makefile | ||
osxbundle.py | ||
stats-conv.py | ||
umpv | ||
uncrustify.cfg | ||
zsh.pl |