1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-21 23:23:19 +00:00
mpv/video/out/vulkan
Philip Langdale 02b49458a3 vo: vulkan: allow picking devices by UUID
We currently only allow specifying the Vulkan device to use by name. We
did this to avoid confusion around devices being enumerated in an
unpredictable order. However, there is a valid edge case where a system
may contain multiple devices of the same type - which means they will
have the same name, and so you can't control which one is used.

This change implements picking devices by UUID so that if names don't
work, you have some option available. As Vulkan 1.1 is a hard
requirement for libplacebo, we can just use UUIDs without conditional
checks.

Fixes #10898
2023-09-04 15:22:20 -07:00
..
common.h vo_gpu_next: vulkan: libplacebo: unify log prefix 2022-10-09 21:47:35 +02:00
context_android.c
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
context_xlib.c x11: remove PresentNotifyMSC from egl/glx/vulkan to fix xpresent timing 2023-01-25 03:13:23 +00:00
context.c vo: vulkan: allow picking devices by UUID 2023-09-04 15:22:20 -07:00
context.h
utils.c vulkan: fix build error for 32bit builds with clang 2023-01-08 16:09:01 +01:00
utils.h