mpv/video/out/gpu
LongChair 9f2970f28a drm/atomic: refactor hwdec_drmprime_drm with native resources
That new API was introduced and allows to have several native resources.
Thisuses that mechanisma for drm resources rather than the deprecated
opengl-cb structs.

This patch therefore add two structs that can be used with the drm atomic interop.
 - mpv_opengl_drm_params : which will hold all the drm handles
 - mpv_opengl_drm_osd_size : which will hold osd layer size

This commit adds a drm-osd-size=WxH parameter to commandline which
allows to define the OSD plane dimension. OSD can be upscaled to
screen resolution when having OSD at video resolution is too heavy.

This is especially useful for UHD modes on embedded devices where
the GPU cannot handle UHD modes at a decent framerate.
2018-05-01 20:48:02 +03:00
..
context.c
context.h
d3d11_helpers.c
d3d11_helpers.h
hwdec.c
hwdec.h
lcms.c
lcms.h
libmpv_gpu.c
libmpv_gpu.h
osd.c
osd.h
ra.c
ra.h
shader_cache.c
shader_cache.h
spirv.c
spirv.h
spirv_shaderc.c
user_shaders.c
user_shaders.h
utils.c
utils.h
video.c
video.h
video_shaders.c
video_shaders.h