mpv/video/out
wm4 52dd38a48a client API: add a new way to pass X11 Display etc. to render API
Hardware decoding things often need access to additional handles from
the windowing system, such as the X11 or Wayland display when using
vaapi. The opengl-cb had nothing dedicated for this, and used the weird
GL_MP_MPGetNativeDisplay GL extension (which was mpv specific and not
officially registered with OpenGL).

This was awkward, and a pain due to having to emulate GL context
behavior (like needing a TLS variable to store context for the pseudo GL
extension function). In addition (and not inherently due to this), we
could pass only one resource from mpv builtin context backends to
hwdecs. It was also all GL specific.

Replace this with a newer mechanism. It works for all RA backends, not
just GL. the API user can explicitly pass the objects at init time via
mpv_render_context_create(). Multiple resources are naturally possible.

The API uses MPV_RENDER_PARAM_* defines, but internally we use strings.
This is done for 2 reasons: 1. trying to leave libmpv and internal
mechanisms decoupled, 2. not having to add public API for some of the
internal resource types (especially D3D/GL interop stuff).

To remain sane, drop support for obscure half-working opengl-cb things,
like the DRM interop (was missing necessary things), the RPI window
thing (nobody used it), and obscure D3D interop things (not needed with
ANGLE, others were undocumented). In order not to break ABI and the C
API, we don't remove the associated structs from opengl_cb.h.

The parts which are still needed (in particular DRM interop) needs to be
ported to the render API.
2018-03-26 19:47:08 +02:00
..
cocoa osx: code cleanups and cosmetic fixes 2018-01-20 14:43:49 -08:00
cocoa-cb cocoa-cb: render on a dedicated dispatch queue 2018-03-25 16:24:23 -07:00
d3d11 vo_gpu: d3d11: implement tex_download() 2018-02-13 21:25:15 +11:00
gpu client API: add a new way to pass X11 Display etc. to render API 2018-03-26 19:47:08 +02:00
opengl client API: add a new way to pass X11 Display etc. to render API 2018-03-26 19:47:08 +02:00
vulkan vo_gpu: remove old window screenshot glue code and GL implementation 2018-02-13 17:45:29 -08:00
wayland
win32 vo_gpu: win: remove exclusive-fullscreen detection hack 2017-12-20 14:53:41 +11:00
aspect.c
aspect.h
bitmap_packer.c
bitmap_packer.h
cocoa_cb_common.swift cocoa-cb: render on a dedicated dispatch queue 2018-03-25 16:24:23 -07:00
cocoa_common.h
cocoa_common.m
d3d_shader_420p.h
d3d_shader_yuv.hlsl
dither.c
dither.h
drm_atomic.c
drm_atomic.h
drm_common.c drm_common: Improve VT switching signal handling somewhat 2018-02-26 23:56:13 -08:00
drm_common.h context_drm_egl: Introduce 30bpp support 2018-02-26 23:56:13 -08:00
drm_prime.c
drm_prime.h
filter_kernels.c
filter_kernels.h
libmpv.h client API: deprecate opengl-cb API and introduce a replacement API 2018-02-28 00:55:06 -08:00
vo.c vo: pass through framedrop flag differently 2018-03-15 23:13:53 -07:00
vo.h vo: pass through framedrop flag differently 2018-03-15 23:13:53 -07:00
vo_caca.c
vo_direct3d.c
vo_drm.c vo_drm: Fix pageflip errors on VT switch 2018-02-26 23:56:13 -08:00
vo_gpu.c vo_gpu: remove old window screenshot glue code and GL implementation 2018-02-13 17:45:29 -08:00
vo_image.c
vo_lavc.c
vo_libmpv.c client API: deprecate opengl-cb API and introduce a replacement API 2018-02-28 00:55:06 -08:00
vo_mediacodec_embed.c vo_mediacodec_embed: fix forgotten VO_CAP_NOREDRAW→VO_CAP_NORETAIN 2018-02-20 01:59:20 +02:00
vo_null.c
vo_rpi.c vo_gpu: add internal ability to skip osd/subs for rendering 2018-02-11 17:45:51 -08:00
vo_sdl.c
vo_tct.c sws_utils: don't force callers to provide option struct 2018-01-18 00:59:07 -08:00
vo_vaapi.c video: change some mp_image_pool semantics 2018-01-13 03:26:45 -08:00
vo_vdpau.c vo_vdpau: fix resizing and rotation problems 2018-03-08 17:12:32 -08:00
vo_x11.c sws_utils: don't force callers to provide option struct 2018-01-18 00:59:07 -08:00
vo_xv.c
w32_common.c
w32_common.h
wayland_common.c wayland_common: fix idle_inhibitor protocol segfault 2018-02-09 21:16:14 +02:00
wayland_common.h
win_state.c video: change some remaining vo_opengl mentions to vo_gpu 2018-01-20 14:43:49 -08:00
win_state.h
x11_common.c
x11_common.h