1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-11 09:25:56 +00:00
mpv/TOOLS
rr- c3f2ef5491 vo_opengl: add DRM EGL backend
Notes:

- Unfortunately the only way to talk to EGL from within DRM I could find
  involves linking with GBM (generic buffer management for Mesa.)
  Because of this, I'm pretty sure it won't work with proprietary NVidia
  drivers, but then again, last time I checked NVidia didn't offer
  proper screen resolution for VT.

- VT switching doesn't seem to work at all. It's worth mentioning that
  using vo_drm before introduction of VT switcher had an anomaly where
  user could switch to another VT and input text to it, while video
  played on top of that VT. However, that isn't the case with drm_egl:
  I can't switch to other VT during playback like this. This makes me
  think that it's either a limitation coming from my firmware or from
  EGL/KMS itself rather than a bug with my code. Nonetheless, I still
  left (untestable) VT switching code in place, in case it's useful to
  someone else.

- The mode_id, connector_id and device_path should be configurable for
  power users and people who wish to watch videos on nonprimary screen.
  Unfortunately I didn't see anything that would allow OpenGL backends
  to register their own set of options. At the same time, adding them to
  global namespace is pointless.

- A few dozens of lines could be shared with vo_drm (setting up VT
  switching, most of code behind page flipping). I don't have any strong
  opinion on this.

- Sometimes I get minor visual glitches. I'm not sure if there's a race
  condition of some sort, unitialized variable (doubtful), or if it's
  buggy driver. (I'm using integrated Intel HD Graphics 4400 with Mesa)

- .config and .control are very minimal.

Signed-off-by: wm4 <wm4@nowhere>
2015-11-08 15:00:15 +01:00
..
lib/Parse demux_mkv: don't use byte strings 2015-06-24 14:02:40 +02:00
lua TOOLS/autoload: avoid throwing an error when playing e.g. youtube 2015-10-20 12:33:57 +02:00
osxbundle/mpv.app/Contents osxbundle: remove unnecessary config file entry 2015-05-01 21:58:17 +02:00
vf_dlopen
dylib-unhell.py osxbundle: don't try to package Python 2015-02-02 16:11:11 +01:00
file2string.pl file2string: mark question mark as non-safe 2015-11-05 17:38:20 +01:00
gen-x11-icon.sh TOOLS/gen-x11-icon.sh: fix for recent ImageMagick 2015-11-04 21:48:27 +01: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
old-configure vo_opengl: add DRM EGL backend 2015-11-08 15:00:15 +01:00
old-makefile old-makefile: update with latest source additions 2015-11-05 17:53:05 +01:00
osxbundle.py TOOLS: unbreak osxbundle.py 2015-07-21 23:04:06 +02:00
stats-conv.py TOOLS/stats-conv: rewrite for pygtgraph 2015-10-15 23:07:03 +02:00
umpv TOOLS/umpv: fix typo in docstring 2015-04-17 13:37:47 +02:00
uncrustify.cfg
zsh.pl TOOLS/zsh.pl: only check the actual exit code when calling mpv 2015-09-20 14:21:03 +02:00