mpv/video/out
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
..
cocoa
opengl vo_opengl: add DRM EGL backend 2015-11-08 15:00:15 +01:00
wayland
win32 w32: use DisplayConfig API to retrieve correct monitor refresh rate 2015-11-06 19:53:18 +01:00
aspect.c
aspect.h
bitmap_packer.c
bitmap_packer.h
cocoa_common.h
cocoa_common.m cocoa: set application policy before creating window 2015-10-11 16:19:08 +02:00
d3d_shader_420p.h
d3d_shader_nv12.h
d3d_shader_yuv.hlsl
dither.c
dither.h
drm_common.c vo_drm: move initialization to drm_common 2015-11-08 14:58:34 +01:00
drm_common.h vo_drm: move initialization to drm_common 2015-11-08 14:58:34 +01:00
filter_kernels.c
filter_kernels.h
vo.c vo_opengl, vo_opengl_cb: drop unneeded vo_frame fields 2015-11-04 21:49:54 +01:00
vo.h vo_opengl, vo_opengl_cb: drop unneeded vo_frame fields 2015-11-04 21:49:54 +01:00
vo_caca.c video/out: remove an unused parameter 2015-10-03 18:20:16 +02:00
vo_direct3d.c vo_direct3d: fix operation 2015-10-31 12:52:02 +01:00
vo_drm.c vo_drm: move initialization to drm_common 2015-11-08 14:58:34 +01:00
vo_image.c video/out: remove an unused parameter 2015-10-03 18:20:16 +02:00
vo_lavc.c video/out: remove an unused parameter 2015-10-03 18:20:16 +02:00
vo_null.c video/out: remove an unused parameter 2015-10-03 18:20:16 +02:00
vo_opengl.c vo_opengl: win32: try to enable DwmFlush by default 2015-11-01 20:47:57 +01:00
vo_opengl_cb.c vo_opengl_cb: log some events 2015-11-04 21:49:54 +01:00
vo_rpi.c video/out: remove an unused parameter 2015-10-03 18:20:16 +02:00
vo_sdl.c video/out: remove an unused parameter 2015-10-03 18:20:16 +02:00
vo_vaapi.c video/out: remove an unused parameter 2015-10-03 18:20:16 +02:00
vo_vdpau.c Remove some VLAs 2015-11-06 21:12:20 +01:00
vo_wayland.c video/out: remove an unused parameter 2015-10-03 18:20:16 +02:00
vo_x11.c video/out: remove an unused parameter 2015-10-03 18:20:16 +02:00
vo_xv.c vo_xv: fix crash with --wid 2015-10-07 13:49:29 +02:00
w32_common.c w32: use DisplayConfig API to retrieve correct monitor refresh rate 2015-11-06 19:53:18 +01:00
w32_common.h vo_direct3d: fix operation 2015-10-31 12:52:02 +01:00
wayland_common.c Revert "vo_wayland: define opaque region" 2015-10-20 00:15:07 +02:00
wayland_common.h
win_state.c
win_state.h
x11_common.c x11: print Xlib errors in verbose mode if Xlib messages are silenced 2015-11-07 17:43:10 +01:00
x11_common.h vo_opengl: x11: silence error messages when using legacy GL context 2015-11-06 21:20:23 +01:00
x11_icon.bin