0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 20:03:10 +02:00
mpv/video/out/vulkan
Philip Langdale ba6af0fb15 vulkan: don't assume all ra_ctx implementations have a swapchain
The dmabuf-wayland vo has a stub ra implementation that doesn't
have a swapchain. That means that it's currently not safe to call
ra_vk_ctx_get on that ra_ctx, but it must be safe to call on all ra
implementations as this is how we discover if it is a vulkan ra.

This hasn't been an issue before because no Vulkan code paths would be
triggered when using dmabuf-wayland, but with the new vulkan hwdec, it
becomes possible to trigger when hwdecs are probed.
2023-06-03 18:37:43 -07:00
..
common.h vo_gpu_next: vulkan: libplacebo: unify log prefix 2022-10-09 21:47:35 +02:00
context_android.c wayland: use callback flag + poll for buffer swap 2019-10-10 17:41:19 +00:00
context_display.c options: remove explicit initialization of integers to 0 2023-02-21 17:15:17 +00:00
context_wayland.c wayland: add wp-fractional-scale-v1 support 2023-01-24 00:04:39 +00:00
context_win.c wayland: use callback flag + poll for buffer swap 2019-10-10 17:41:19 +00:00
context_xlib.c x11: remove PresentNotifyMSC from egl/glx/vulkan to fix xpresent timing 2023-01-25 03:13:23 +00:00
context.c vulkan: don't assume all ra_ctx implementations have a swapchain 2023-06-03 18:37:43 -07:00
context.h wayland_vk: rename start_frame to check_visible 2021-11-04 15:59:56 +00:00
utils.c vulkan: fix build error for 32bit builds with clang 2023-01-08 16:09:01 +01:00
utils.h vo_gpu: vulkan: use libplacebo instead 2019-04-21 23:55:22 +03:00