mpv/video/out
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
..
cocoa cocoa: fix drawing on macOS 10.14 2018-11-13 21:14:29 +02:00
cocoa-cb cocoa-cb: add logging for CGL pixel format attributes 2018-11-13 20:43:29 +02:00
d3d11 vo_gpu: d3d11: implement tex_download() 2018-02-13 21:25:15 +11:00
gpu vo_libmpv: support render performance data 2018-11-13 20:43:29 +02:00
opengl vo_gpu: hwdec_cuda: Guard GL and Vulkan headers properly 2018-11-18 23:50:38 +02:00
vulkan vulkan: slightly improve vsync jitter measurements 2018-11-19 00:23:15 +02:00
win32 vo_gpu: win: remove exclusive-fullscreen detection hack 2017-12-20 14:53:41 +11:00
aspect.c
aspect.h
bitmap_packer.c
bitmap_packer.h
cocoa_cb_common.swift cocoa-cb: use libmpv's advanced rendering control and timing 2018-11-13 20:43:29 +02:00
cocoa_common.h
cocoa_common.m {mac,cocoa}: trim trailing null out of macosx_icon when loading it 2018-10-02 00:20:43 +03:00
d3d_shader_420p.h
d3d_shader_yuv.hlsl
dither.c
dither.h
dr_helper.c vo: move DR helper code to a separate source file 2018-04-29 02:21:32 +03:00
dr_helper.h vo: move DR helper code to a separate source file 2018-04-29 02:21:32 +03:00
drm_atomic.c drm_atomic: Allow to create atomic context w/o drmprime video plane 2018-09-30 14:22:49 +03:00
drm_atomic.h context_drm_egl: Fix CRTC setup and release code when using atomic 2018-07-09 02:17:47 +03:00
drm_common.c context_drm_egl: Fix CRTC setup and release code when using atomic 2018-07-09 02:17:47 +03:00
drm_common.h context_drm_egl: Fix CRTC setup and release code when using atomic 2018-07-09 02:17:47 +03:00
drm_prime.c Add DRM_PRIME Format Handling and Display for RockChip MPP decoders 2017-10-23 21:07:24 +02:00
drm_prime.h Add DRM_PRIME Format Handling and Display for RockChip MPP decoders 2017-10-23 21:07:24 +02:00
filter_kernels.c vo_opengl: refactor scaler LUT weight packing/loading 2017-09-04 13:53:14 +02:00
filter_kernels.h vo_opengl: refactor scaler LUT weight packing/loading 2017-09-04 13:53:14 +02:00
libmpv.h vo_libmpv: support render performance data 2018-11-13 20:43:29 +02:00
vo.c build: make encoding mode non-optional 2018-05-03 01:08:44 +03:00
vo.h encode: get rid of the output packet queue 2018-05-03 01:08:44 +03:00
vo_caca.c Add checks for HAVE_GPL to various GPL-only source files 2017-10-10 15:51:16 +02:00
vo_direct3d.c Add checks for HAVE_GPL to various GPL-only source files 2017-10-10 15:51:16 +02:00
vo_drm.c context_drm_egl: Fix CRTC setup and release code when using atomic 2018-07-09 02:17:47 +03:00
vo_gpu.c vo_gpu: move some extra code for screenshot to video.c 2018-04-20 17:05:53 +02:00
vo_image.c
vo_lavc.c encode: get rid of the output packet queue 2018-05-03 01:08:44 +03:00
vo_libmpv.c vo_libmpv: support render performance data 2018-11-13 20:43:29 +02:00
vo_mediacodec_embed.c vo_mediacodec_embed: fix forgotten VO_CAP_NOREDRAW→VO_CAP_NORETAIN 2018-02-20 01:59:20 +02:00
vo_null.c
vo_rpi.c vo_gpu: add internal ability to skip osd/subs for rendering 2018-02-11 17:45:51 -08:00
vo_sdl.c vo_sdl: add support for screensaver VOCTRL's 2018-06-02 23:34:38 +03:00
vo_tct.c sws_utils: don't force callers to provide option struct 2018-01-18 00:59:07 -08:00
vo_vaapi.c video: change some mp_image_pool semantics 2018-01-13 03:26:45 -08:00
vo_vdpau.c vo_vdpau: fix resizing and rotation problems 2018-03-08 17:12:32 -08:00
vo_x11.c vo_x11: fix return value in resize() error paths 2018-11-17 00:53:56 +01:00
vo_xv.c build: remove POSIX/sysv shared memory test 2017-12-02 23:19:13 +01:00
w32_common.c w32_common: use the screen working area when resizing the window 2018-11-18 00:56:34 +02:00
w32_common.h
wayland_common.c wayland: remove KDE server-decoration support 2018-11-19 00:15:31 +02:00
wayland_common.h wayland: remove KDE server-decoration support 2018-11-19 00:15:31 +02:00
win_state.c video: change some remaining vo_opengl mentions to vo_gpu 2018-01-20 14:43:49 -08:00
win_state.h
x11_common.c x11: fix icc profile when the window goes near off screen 2018-10-21 23:32:50 +02:00
x11_common.h Add checks for HAVE_GPL to various GPL-only source files 2017-10-10 15:51:16 +02:00