mpv/video/out/vulkan
Niklas Haas b8bb5329a5 vulkan: slightly improve vsync jitter measurements
By design, some vulkan implementations block until vsync during
vkAcquireNextImageKHR. Since mpv only considers the time that
`swap_buffers` spent blocking as constituting part of the vsync, we can
help it out a bit by pre-emptively calling this function here in order
to improve the accuracy of vsync jitter measurements on vulkan.

(If it fails, we just ignore the error and have the user call it a
second time later - maybe it will work then)

On my system this drops vsync-jitter from ~0.030 to ~0.007, an accuracy
of +/- 100μs. (Which *might* have something to do with the fact that
this is the polling interval for command polling)
2018-11-19 00:23:15 +02:00
..
common.h vo_gpu: vulkan: Add support for exporting buffer memory 2018-10-22 21:35:48 +02:00
context.c vulkan: slightly improve vsync jitter measurements 2018-11-19 00:23:15 +02:00
context.h
context_wayland.c vo_gpu: semi-fix --gpu-context/--gpu-api options and help output 2017-10-16 10:57:51 +02:00
context_win.c vo_gpu: semi-fix --gpu-context/--gpu-api options and help output 2017-10-16 10:57:51 +02:00
context_xlib.c vo_gpu: semi-fix --gpu-context/--gpu-api options and help output 2017-10-16 10:57:51 +02:00
formats.c vo_gpu: vulkan: fix the rgb565a1 names -> rgb5a1 2017-12-25 00:47:53 +01:00
formats.h
malloc.c vo_gpu: vulkan: Always use KHR suffix types and defines 2018-11-03 23:53:08 +02:00
malloc.h vo_gpu: vulkan: Add support for exporting buffer memory 2018-10-22 21:35:48 +02:00
ra_vk.c vo_gpu: vulkan: Always use KHR suffix types and defines 2018-11-03 23:53:08 +02:00
ra_vk.h vo_gpu: vulkan: Add arbitrary user data for an ra_vk_buf 2018-10-22 21:35:48 +02:00
spirv_nvidia.c
utils.c vo_gpu: vulkan: only rotate the queues on swap 2018-11-19 00:22:41 +02:00
utils.h vo_gpu: vulkan: Add a function to get the device UUID 2018-10-22 21:35:48 +02:00