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 vo_gpu_next: fix -Wembedded-directive warning 2024-03-19 08:58:18 +01:00
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 video/out/placebo/utils: fix -Wignored-qualifiers warning 2024-03-19 08:58:18 +01:00
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 win32: make context menu items accessible from the window menu 2024-05-03 16:36:02 +02:00
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 mp_thread: prefer tracking threads with id 2023-11-05 17:36:17 +00:00
dr_helper.h mp_thread: prefer tracking threads with id 2023-11-05 17:36:17 +00:00
drm_atomic.c various: fix indentation 2024-05-07 11:23:08 +02:00
drm_atomic.h
drm_common.c build: detect VT_GETMODE on OpenBSD 2024-07-29 15:09:49 +00:00
drm_common.h vo_drm: add support for YUYV format 2024-03-16 13:27:34 +01:00
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: remove unneeded clear_values function 2023-11-07 00:52:46 +00:00
present_sync.h present_sync: remove unneeded clear_values function 2023-11-07 00:52:46 +00:00
vo.c vo: move target_params into responsibility of VO 2024-03-16 13:27:34 +01:00
vo.h win32: quantize taskbar playback position into uint8 range 2024-06-03 19:16:35 +02:00
vo_caca.c
vo_direct3d.c vo_direct3d: support video-target-params 2024-03-27 22:08:56 +01:00
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_{drm,wlshm}: make query_format checks more correct 2024-03-16 13:27:34 +01:00
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 image_writer: fix TOCTOU in screenshot filename generation 2024-03-19 19:30:27 +01:00
vo_kitty.c terminal: add terminal_set_mouse_input function 2024-04-18 01:03:33 +02:00
vo_lavc.c csputils: replace mp_colorspace with pl_color_space 2024-01-22 14:54:55 +00:00
vo_libmpv.c mac/apphub: migrate remaining events functionality to new AppHub 2024-03-24 23:03:48 +01:00
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 options: remove some deprecated OPT_REPLACED option mapping 2024-06-25 02:18:58 +00:00
vo_tct.c vo_tct: clear backbuffer on reconfig 2024-06-22 00:50:38 +02:00
vo_vaapi.c vo_vaapi: remove redundant function call 2024-05-28 21:29:07 +02:00
vo_vdpau.c vo: remove VOCTRL_SET_EQUALIZER and simplify into UPDATE_VIDEO 2024-02-17 18:56:20 +00:00
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_{drm,wlshm,x11}: add support for video-target-params 2024-03-16 13:27:34 +01:00
vo_xv.c various: fix indentation 2024-05-07 11:23:08 +02:00
w32_common.c win32: always fit to the screen on initial positioning 2024-10-11 13:26:31 +02:00
w32_common.h w32_common: add function to control window transparency state 2024-02-17 16:06:33 +00:00
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