0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 20:03:10 +02:00
mpv/TOOLS
wm4 8d8a2045bd vo_opengl: support new VAAPI EGL interop
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.)
2015-09-25 00:26:19 +02:00
..
lib/Parse demux_mkv: don't use byte strings 2015-06-24 14:02:40 +02:00
lua TOOLS/lua/autoload: fix adding more files at end of auto-playlist 2015-08-20 22:05:03 +02:00
osxbundle/mpv.app/Contents osxbundle: remove unnecessary config file entry 2015-05-01 21:58:17 +02:00
vf_dlopen video: remove internal QP passing 2014-12-03 23:01:20 +01:00
dylib-unhell.py osxbundle: don't try to package Python 2015-02-02 16:11:11 +01:00
file2string.pl Port several python scripts to Perl 2012-11-08 00:28:59 +01:00
gen-x11-icon.sh TOOLS: shellcheck: quote variable expansions 2014-09-16 17:32:33 +02:00
idet.sh Use setfield, not --field-dominance. See #2297. 2015-09-09 02:57:44 +02:00
matroska.pl demux_mkv: make matroska.pl script output deterministic 2015-03-11 22:17:23 +01:00
mpv_identify.sh TOOLS/mpv_identify.sh: remove pointless escape 2014-09-24 02:08:49 +02:00
old-configure vo_opengl: support new VAAPI EGL interop 2015-09-25 00:26:19 +02:00
old-makefile vo_opengl: support new VAAPI EGL interop 2015-09-25 00:26:19 +02:00
osxbundle.py TOOLS: unbreak osxbundle.py 2015-07-21 23:04:06 +02:00
stats-conv.py TOOLS/stats-conv: allow passing regex via command line 2015-08-10 18:36:10 +02:00
umpv TOOLS/umpv: fix typo in docstring 2015-04-17 13:37:47 +02:00
uncrustify.cfg uncrustify: add some instructions 2013-05-12 21:24:55 +02:00
zsh.pl TOOLS/zsh.pl: only check the actual exit code when calling mpv 2015-09-20 14:21:03 +02:00