mpv/video/out/opengl
wm4 46fff8d31a video: refactor how VO exports hwdec device handles
The main change is with video/hwdec.h. mp_hwdec_info is made opaque (and
renamed to mp_hwdec_devices). Its accessors are mainly thread-safe (or
documented where not), which makes the whole thing saner and cleaner. In
particular, thread-safety rules become less subtle and more obvious.

The new internal API makes it easier to support multiple OpenGL interop
backends. (Although this is not done yet, and it's not clear whether it
ever will.)

This also removes all the API-specific fields from mp_hwdec_ctx and
replaces them with a "ctx" field. For d3d in particular, we drop the
mp_d3d_ctx struct completely, and pass the interfaces directly.

Remove the emulation checks from vaapi.c and vdpau.c; they are
pointless, and the checks that matter are done on the VO layer.

The d3d hardware decoders might slightly change behavior: dxva2-copy
will not use the VO device anymore if the VO supports proper interop.
This pretty much assumes that any in such cases the VO will not use any
form of exclusive mode, which makes using the VO device in copy mode
unnecessary.

This is a big refactor. Some things may be untested and could be broken.
2016-05-09 20:03:22 +02:00
..
common.c vo_opengl: support GL_EXT_texture_norm16 on GLES 2016-04-27 19:19:56 +02:00
common.h vo_opengl: support GL_EXT_texture_norm16 on GLES 2016-04-27 19:19:56 +02:00
context.c vo_opengl: GLX: try to create 3.3 core profile context 2016-03-19 19:31:17 +01:00
context.h vo_opengl: GLX: try to create 3.3 core profile context 2016-03-19 19:31:17 +01:00
context_angle.c vo_opengl: angle: avoid fullscreen FBO copy for flipping 2016-05-05 18:44:41 +02:00
context_cocoa.c vo_opengl: always premultiply alpha 2016-03-29 21:56:38 +02:00
context_drm_egl.c
context_dxinterop.c vo_opengl: only open one OpenGL/DX interop handle when using dxva2 2016-03-15 17:04:58 -07:00
context_rpi.c vo_opengl: rpi: don't include x11 header file 2016-04-15 09:45:15 +02:00
context_rpi.h
context_w32.c
context_wayland.c vo_opengl: wayland: don't destroy NULL wl_egl_window 2016-03-03 15:30:28 +01:00
context_x11.c vo_opengl: always premultiply alpha 2016-03-29 21:56:38 +02:00
context_x11egl.c
egl_helpers.c
egl_helpers.h
header_fixes.h vo_opengl: fix build with GLES3 headers 2016-04-27 20:26:08 +02:00
hwdec.c video: refactor how VO exports hwdec device handles 2016-05-09 20:03:22 +02:00
hwdec.h video: refactor how VO exports hwdec device handles 2016-05-09 20:03:22 +02:00
hwdec_d3d11egl.c video: refactor how VO exports hwdec device handles 2016-05-09 20:03:22 +02:00
hwdec_dxva2.c video: refactor how VO exports hwdec device handles 2016-05-09 20:03:22 +02:00
hwdec_dxva2egl.c video: refactor how VO exports hwdec device handles 2016-05-09 20:03:22 +02:00
hwdec_dxva2gldx.c video: refactor how VO exports hwdec device handles 2016-05-09 20:03:22 +02:00
hwdec_osx.c video: refactor how VO exports hwdec device handles 2016-05-09 20:03:22 +02:00
hwdec_vaegl.c video: refactor how VO exports hwdec device handles 2016-05-09 20:03:22 +02:00
hwdec_vaglx.c video: refactor how VO exports hwdec device handles 2016-05-09 20:03:22 +02:00
hwdec_vdpau.c video: refactor how VO exports hwdec device handles 2016-05-09 20:03:22 +02:00
lcms.c lcms: don't warn/error on 3dlut cache misses 2016-05-04 12:10:55 +02:00
lcms.h lcms: improve black point handling (especially BT.1886) 2016-05-04 12:10:45 +02:00
nnedi3.c vo_opengl: fix build breakage 2016-04-06 01:21:16 +02:00
nnedi3.h vo_opengl: fix nnedi + rectangle textures 2016-04-05 20:57:02 +02:00
nnedi3_weights.bin
osd.c vo_opengl, osd: allow osc.lua to react faster on resizes 2016-03-21 22:23:41 +01:00
osd.h vo_opengl, osd: allow osc.lua to react faster on resizes 2016-03-21 22:23:41 +01:00
superxbr.c vo_opengl: decrease default superxbr-edge-strength 2016-03-07 22:31:15 +01:00
superxbr.h vo_opengl: refactor superxbr algorithm 2016-03-07 22:31:15 +01:00
utils.c vo_opengl: slightly compress gl_set_debug_logger() 2016-03-28 18:07:41 +02:00
utils.h vo_opengl: fix row-major vs. column-major confusion 2016-03-28 16:16:09 +02:00
video.c vo_opengl: support GL_EXT_texture_norm16 on GLES 2016-04-27 19:19:56 +02:00
video.h vo_opengl: improve rotation handling (again) 2016-04-08 22:21:38 +02:00
video_shaders.c vo_opengl: simplify and improve up scale=oversample 2016-04-12 16:26:53 +02:00
video_shaders.h vo_opengl: fix sharpen filter 2016-03-16 19:09:52 +01:00