mpv/options
wm4 c6fafbffac vo_opengl: separate hwdec context and mapping, port it to use ra
This does two separate rather intrusive things:

 1. Make the hwdec context (which does initialization, provides the
    device to the decoder, and other basic state) and frame mapping
    (getting textures from a mp_image) separate. This is more
    flexible, and you could map multiple images at once. It will
    help removing some hwdec special-casing from video.c.
 2. Switch all hwdec API use to ra. Of course all code is still
    GL specific, but in theory it would be possible to support other
    backends. The most important change is that the hwdec interop
    returns ra objects, instead of anything GL specific. This removes
    the last dependency on GL-specific header files from video.c.

I'm mixing these separate changes because both requires essentially
rewriting all the glue code, so better do them at once. For the same
reason, this change isn't done incrementally.

hwdec_ios.m is untested, since I can't test it. Apart from superficial
mistakes, this also requires dealing with Apple's texture format
fuckups: they force you to use GL_LUMINANCE[_ALPHA] instead of GL_RED
and GL_RG. We also need to report the correct format via ra_tex to
the renderer, which is done by find_la_variant(). It's unknown whether
this works correctly.

hwdec_rpi.c as well as vo_rpi.c are still broken. (I need to pull my
RPI out of a dusty pile of devices and cables, so, later.)
2017-08-10 21:24:31 +02:00
..
m_config.c options: fix --include 2017-08-08 15:54:51 +02:00
m_config.h m_option: remove redundant indirections 2017-07-02 13:07:36 +02:00
m_option.c m_option: deprecate multiple items for -add etc. 2017-07-02 16:47:27 +02:00
m_option.h options: change everything again 2017-07-02 16:29:45 +02:00
m_property.c m_property: change license to LGPL 2017-06-12 17:00:20 +02:00
m_property.h command: avoid going through prop->opt bridge from opt->prop bridge 2017-06-16 21:31:24 +02:00
options.c vo_opengl: separate hwdec context and mapping, port it to use ra 2017-08-10 21:24:31 +02:00
options.h cocoa: add an option to disable the native macOS fullscreen 2017-08-06 22:48:26 +02:00
parse_commandline.c m_option: remove redundant indirections 2017-07-02 13:07:36 +02:00
parse_commandline.h options: change license of most files to LGPL (except options.c/.h) 2017-06-12 20:55:17 +02:00
parse_configfile.c options: change license of most files to LGPL (except options.c/.h) 2017-06-12 20:55:17 +02:00
parse_configfile.h options: change license of most files to LGPL (except options.c/.h) 2017-06-12 20:55:17 +02:00
path.c options/path: fallback to USERPROFILE if HOME isn't set 2017-07-06 15:45:08 +01:00
path.h path: change license to LGPL 2017-06-12 16:41:21 +02:00