summaryrefslogtreecommitdiffstats
path: root/video/out/vulkan/context_display.c
diff options
context:
space:
mode:
authornanahi <130121847+na-na-hi@users.noreply.github.com>2024-04-15 23:18:44 -0400
committerKacper Michajłow <kasper93@gmail.com>2024-04-18 16:28:21 +0200
commit2533ea764f3fd506b619925611b4b8446d999c13 (patch)
tree91e4cea7220e9c8f097224d3a5ad225f296c2c7a /video/out/vulkan/context_display.c
parenta6ff33425dd29fa214ee21c6b32cd283f8a18f64 (diff)
downloadmpv-2533ea764f3fd506b619925611b4b8446d999c13.tar.bz2
mpv-2533ea764f3fd506b619925611b4b8446d999c13.tar.xz
various: add GPU context description
Now that obj_settings_list is used for GPU contexts, detailed descriptions can be added so that --gpu-context=help can print the descriptions of the GPU contexts using standard obj_settings_list help printing.
Diffstat (limited to 'video/out/vulkan/context_display.c')
-rw-r--r--video/out/vulkan/context_display.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/vulkan/context_display.c b/video/out/vulkan/context_display.c
index 72f73adb20..7e3bc8ea2f 100644
--- a/video/out/vulkan/context_display.c
+++ b/video/out/vulkan/context_display.c
@@ -486,6 +486,7 @@ static void display_wait_events(struct ra_ctx *ctx, int64_t until_time_ns)
const struct ra_ctx_fns ra_ctx_vulkan_display = {
.type = "vulkan",
.name = "displayvk",
+ .description = "VK_KHR_display",
.reconfig = display_reconfig,
.control = display_control,
.wakeup = display_wakeup,