From bedca07a021863d264e7c4c471cc30102899500f Mon Sep 17 00:00:00 2001 From: dudemanguy Date: Thu, 10 Oct 2019 14:14:40 -0500 Subject: wayland: add presentation time Use ust/msc/refresh values from wayland's presentation time in mpv's ra_swapchain_fns.get_vsync for the wayland contexts. --- video/out/vulkan/context.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'video/out/vulkan/context.h') diff --git a/video/out/vulkan/context.h b/video/out/vulkan/context.h index 90d7f8b8b2..0b420e2daa 100644 --- a/video/out/vulkan/context.h +++ b/video/out/vulkan/context.h @@ -4,6 +4,9 @@ #include "common.h" struct ra_vk_ctx_params { + // See ra_swapchain_fns.get_vsync. + void (*get_vsync)(struct ra_ctx *ctx, struct vo_vsync_info *info); + // In case something special needs to be done on the buffer swap. void (*swap_buffers)(struct ra_ctx *ctx); }; -- cgit v1.2.3