mpv/video
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
..
decode various: remove global.h inclusion where not needed 2024-10-01 12:23:44 +02:00
filter vf_format: set original params when converting format 2024-10-06 22:01:37 +02:00
out video/out/gpu/context: prefer vulkan over opengl when reasonable 2024-10-23 19:09:20 +00:00
csputils.c video/csputils: remove space from choice option for chroma loc 2024-08-24 17:11:39 +02:00
csputils.h
cuda.c
d3d.c
d3d.h
drmprime.c
fmt-conversion.c
fmt-conversion.h
hwdec.c video: hwdec: extend look up of hwdecs to consider device type as well 2024-08-10 14:24:36 -07:00
hwdec.h hwdec_vaapi: try format upload lazily 2024-10-12 01:36:44 +02:00
image_loader.c
image_loader.h
image_writer.c various: remove no longer needed availability checks 2024-06-22 16:12:14 +02:00
image_writer.h image_writer: fix TOCTOU in screenshot filename generation 2024-03-19 19:30:27 +01:00
img_format.c img_format: prevent an offset >= MP_MAX_PLANES into bpp 2024-08-13 12:35:27 +02:00
img_format.h
mp_image.c mp_image: restore dovi metadata before converting to AVFrame 2024-10-06 22:01:37 +02:00
mp_image.h mp_image: save fallback colorspace when dovi metadata is present 2024-09-01 19:41:25 +02:00
mp_image_pool.c meson: require Vulkan loader/headers >= 1.3.238 2024-09-14 17:20:16 +02:00
mp_image_pool.h
repack.c repack: add restrict qualifier to src/dst pointers 2024-03-19 13:04:05 +01:00
repack.h
sws_utils.c various: remove no longer needed availability checks 2024-06-22 16:12:14 +02:00
sws_utils.h
vaapi.c various: avoid function pointer casts 2024-02-28 16:04:02 +00:00
vaapi.h
vdpau.c
vdpau.h
vdpau_functions.inc
vdpau_mixer.c mp_image: add mp_image_params_static_equal for finer comparision 2024-03-09 05:58:52 +00:00
vdpau_mixer.h
zimg.c
zimg.h