mpv/player
wm4 b037121430 client API: deprecate opengl-cb API and introduce a replacement API
The purpose of the new API is to make it useable with other APIs than
OpenGL, especially D3D11 and vulkan. In theory it's now possible to
support other vo_gpu backends, as well as backends that don't use the
vo_gpu code at all.

This also aims to get rid of the dumb mpv_get_sub_api() function. The
life cycle of the new mpv_render_context is a bit different from
mpv_opengl_cb_context, and you explicitly create/destroy the new
context, instead of calling init/uninit on an object returned by
mpv_get_sub_api().

In other to make the render API generic, it's annoyingly EGL style, and
requires you to pass in API-specific objects to generic functions. This
is to avoid explicit objects like the internal ra API has, because that
sounds more complicated and annoying for an API that's supposed to never
change.

The opengl_cb API will continue to exist for a bit longer, but
internally there are already a few tradeoffs, like reduced
thread-safety.

Mostly untested. Seems to work fine with mpc-qt.
2018-02-28 00:55:06 -08:00
..
javascript js: implement mp.msg.trace() 2017-12-16 02:25:24 -08:00
lua ytdl_hook: add ytdl:// prefix again for non-youtube playlists 2018-02-11 23:27:37 -08:00
audio.c audio: improve behavior if filters output nothing during probing 2018-02-21 22:35:24 -08:00
client.c client API: deprecate opengl-cb API and introduce a replacement API 2018-02-28 00:55:06 -08:00
client.h client API: deprecate opengl-cb API and introduce a replacement API 2018-02-28 00:55:06 -08:00
command.c command: simplify mp_property_filter_metadata 2018-02-16 22:04:15 -08:00
command.h player: update duration based on highest timestamp demuxed 2017-12-24 21:49:12 +01:00
configfiles.c player: silence config file loading message on resuming 2018-01-13 03:26:45 -08:00
core.h client API: deprecate opengl-cb API and introduce a replacement API 2018-02-28 00:55:06 -08:00
external_files.c player: make track language matching case insensitive 2017-12-23 15:14:13 -07:00
external_files.h external_files: change license to LGPL 2017-06-20 14:22:10 +02:00
javascript.c lua+js: Implement utils.getpid() 2018-02-13 20:16:01 -08:00
loadfile.c player: correctly set track information on adding external files 2018-02-10 06:50:32 -08:00
lua.c lua+js: Implement utils.getpid() 2018-02-13 20:16:01 -08:00
main.c client API: deprecate opengl-cb API and introduce a replacement API 2018-02-28 00:55:06 -08:00
misc.c options: move most subtitle and OSD rendering options to sub structs 2018-01-02 14:27:37 -08:00
osd.c video: make decoder wrapper a filter 2018-01-30 03:10:27 -08:00
playloop.c client API: deprecate opengl-cb API and introduce a replacement API 2018-02-28 00:55:06 -08:00
screenshot.c vo_gpu: make screenshots use the GL renderer 2018-02-11 17:45:51 -08:00
screenshot.h
scripting.c msg: reinterpret a bunch of message levels 2017-12-15 22:28:47 -08:00
sub.c video: make decoder wrapper a filter 2018-01-30 03:10:27 -08:00
video.c client API: deprecate opengl-cb API and introduce a replacement API 2018-02-28 00:55:06 -08:00