mpv/video/out/gpu
Dudemanguy 851df7088a video/out/gpu/context: prefer vulkan over opengl when reasonable
For most actual desktop users, vulkan should be the a superior
experience over opengl as this point and our autoprobe should pick that.
For linux users, vulkan on wayland is rapidly seeing improvements and is
far ahead of egl. There is no sign of that changing anytime soon and
working fifo is on the horizon, so really wayland users should just all
be using vulkan from now on. For x11, there is not a big difference
between using egl vs vulkan as far as I know and both work well. macOS
already prefers the vulkan backend over the libmpv one anyways, and
finally windows still defaults to d3d11. Probably virtually no one uses
opengl on windows, but vulkan is reasonably common among windows users
and it doesn't make any sense to prefer opengl over it.

The two outliers here are Android and VK_KHR_display. On Android, vulkan
drivers are probably just a total disaster and let's not put ourselves
in that mess if there's no reason to. For VK_KHR_display, it actually
works fine except for one really big problem: VT switching doesn't work.
If you try it, enjoy losing all input and being forced to do a hard
reboot. It might be fixable if you use logind or something, but the
method of using signals like the drm context does won't work because
VK_KHR_display uses render nodes not primary nodes. Also, the opengl drm
context could support hdr in theory (some attempts were made but none
succesful) so it is probably "better". Maybe. Anyways, for these two
platforms, we still prefer opengl.
2024-10-23 19:09:20 +00:00
..
context.c video/out/gpu/context: prefer vulkan over opengl when reasonable 2024-10-23 19:09:20 +00:00
context.h video/out/gpu/context: convert --gpu-api to object settings list 2024-07-04 22:23:17 +00:00
d3d11_helpers.c d3d11_helpers: remove leftover variables 2024-10-06 18:24:33 +02:00
d3d11_helpers.h d3d11_helpers: remove not needed compatibility define 2024-09-24 00:21:19 +02:00
error_diffusion.c
error_diffusion.h
hwdec.c meson: require Vulkan loader/headers >= 1.3.238 2024-09-14 17:20:16 +02:00
hwdec.h vo: hwdec: add AVHWDeviceType property to hwdecs 2024-08-10 14:24:36 -07:00
lcms.c
lcms.h lcms: check for null arg in gl_parse_3dlut_size 2024-05-09 21:21:40 +02:00
libmpv_gpu.c vo_gpu: restore dovi mapping directly on image_params after init 2024-09-03 17:08:28 +02:00
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 various: remove global.h inclusion where not needed 2024-10-01 12:23:44 +02:00
video.h vo_gpu{,_next}: convert scale options to type choice 2024-09-14 17:06:07 +02:00
video_shaders.c
video_shaders.h