mpv/video/out
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
..
d3d11 win32: remove dxgi debug checks 2024-09-24 00:21:19 +02:00
gpu video/out/gpu/context: prefer vulkan over opengl when reasonable 2024-10-23 19:09:20 +00:00
gpu_next
hwdec hwdec_vaapi: try format upload lazily 2024-10-12 01:36:44 +02:00
mac mac/common: fix usage of vo struct after vo uninit race 2024-10-15 00:48:43 +02:00
opengl various: remove global.h inclusion where not needed 2024-10-01 12:23:44 +02:00
placebo
protocols wayland: add support for xx-color-management-v4 for vo_dmabuf_wayland 2024-10-15 00:15:40 +00:00
vulkan mac/vulkan: add retrieval of color depth and return auto (0) 2024-10-23 19:39:20 +02:00
win32
wldmabuf wayland: support multiple devices and tranches when querying formats 2024-10-02 21:27:01 +00:00
android_common.c
android_common.h
aspect.c
aspect.h
bitmap_packer.c
bitmap_packer.h
cocoa_cb_common.swift mac/common: fix usage of vo struct after vo uninit race 2024-10-15 00:48:43 +02:00
dither.c
dither.h
dr_helper.c
dr_helper.h
drm_atomic.c
drm_atomic.h
drm_common.c build: detect VT_GETMODE on OpenBSD 2024-07-29 15:09:49 +00:00
drm_common.h
drm_prime.c drm_prime: fix use of formats with modifiers 2024-08-11 08:22:59 -07:00
drm_prime.h
filter_kernels.c filter_kernels: explain origin of LanczosSharp(est) filters 2024-10-16 15:17:48 +02:00
filter_kernels.h vo_gpu{,_next}: convert scale options to type choice 2024-09-14 17:06:07 +02:00
libmpv.h
libmpv_sw.c
mac_common.swift mac/common: fix usage of vo struct after vo uninit race 2024-10-15 00:48:43 +02:00
meson.build wayland: add support for xx-color-management-v4 for vo_dmabuf_wayland 2024-10-15 00:15:40 +00:00
present_sync.c
present_sync.h
vo.c
vo.h
vo_caca.c
vo_direct3d.c
vo_dmabuf_wayland.c wayland: add support for xx-color-management-v4 for vo_dmabuf_wayland 2024-10-15 00:15:40 +00:00
vo_drm.c
vo_gpu.c various: remove global.h inclusion where not needed 2024-10-01 12:23:44 +02:00
vo_gpu_next.c vo_gpu_next/vulkan: add mechanism to retrieve color depth in gpu context 2024-10-23 19:39:20 +02:00
vo_image.c
vo_kitty.c
vo_lavc.c
vo_libmpv.c
vo_mediacodec_embed.c
vo_null.c
vo_sdl.c win_state: move window centering to vo_calc_window_geometry 2024-10-05 18:40:11 +00:00
vo_sixel.c
vo_tct.c
vo_vaapi.c
vo_vdpau.c
vo_wlshm.c vo_{dmabuf_wayland,wlshm}: use proper values with MP_ALIGN_{UP,DOWN} 2024-10-02 02:32:49 +00:00
vo_x11.c
vo_xv.c
w32_common.c win32: always fit to the screen on initial positioning 2024-10-11 13:26:31 +02:00
w32_common.h
wayland_common.c wayland: be less stupid with color surface creation 2024-10-19 05:09:58 +00:00
wayland_common.h wayland: add support for xx-color-management-v4 for vo_dmabuf_wayland 2024-10-15 00:15:40 +00:00
win_state.c win_state: move window centering to vo_calc_window_geometry 2024-10-05 18:40:11 +00:00
win_state.h win_state: move window centering to vo_calc_window_geometry 2024-10-05 18:40:11 +00:00
x11_common.c x11: fix --fs-screen=all 2024-10-23 14:22:39 +02:00
x11_common.h x11: remove nvidia blacklist logic from --x11-present=auto 2024-10-21 15:13:47 +00:00