1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-06 07:00:30 +00:00
mpv/DOCS
wm4 2b6241a09a vo_opengl: add vsync-fences option
Yet another relatively useless option that tries to make OpenGL's sync
behavior somewhat sane. The results are not too encouraging. With a
value of 1, vsync jitter is gone on nVidia, but there are frame drops
(less than with glfinish). With 2, I get the usual vsync jitter _and_
frame drops.

There's still some hope that it might prevent too deep queuing with some
GPUs, I guess.

The timeout for the wait call is 1 second. The value is pretty
arbitrary; it should just not be too high to freeze the process (if
the GPU is un-nice), and not too low to trigger the timeout in normal
cases, even if the GPU load is very high. So I guess 1 second is ok
as a timeout.

The idea to use fences this way to control the queue depth was stolen
from RetroArch:

df01279cf3/gfx/drivers/gl.c (L1856)
2015-10-30 20:26:51 +01:00
..
client_api_examples DOCS/client_api_examples/README: add qt_opengl 2015-10-11 14:18:52 +02:00
man vo_opengl: add vsync-fences option 2015-10-30 20:26:51 +01:00
client-api-changes.rst client API: rename GL_MP_D3D_interfaces 2015-09-24 21:07:37 +02:00
compile-windows.md DOCS/compile-windows.md: fix Lua package 2015-06-18 18:41:09 +02:00
contribute.md Require contributions in LGPLv2.1+ 2015-07-24 23:54:51 +02:00
edl-mpv.rst
encoding.rst
interface-changes.rst options: remove --use-text-osd 2015-10-24 19:09:35 +02:00
mplayer-changes.rst Disable DVD and BD menu support (to be removed) 2015-06-26 23:37:30 +02:00
release-policy.md DOCS: update release policy 2015-09-23 01:07:52 +02:00
tech-overview.txt options: remove --leak-report 2015-05-02 19:03:28 +02:00
waf-buildsystem.rst Various spelling fixes 2015-06-18 19:36:58 +02:00