From 843bc822a8a7974c7fbeea62525cb56bbab23fde Mon Sep 17 00:00:00 2001 From: "Avi Halachmi (:avih)" Date: Tue, 17 Mar 2015 01:15:28 +0200 Subject: opengl: win32 - add option 'dwmflush' to sync in DWM This could help in cases where the DWM (Windows desktop compositor) adds another layer of bufferring and therefore the SwapBuffers timing could get messed up. Signed-off-by: wm4 --- DOCS/man/vo.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'DOCS/man/vo.rst') diff --git a/DOCS/man/vo.rst b/DOCS/man/vo.rst index 5d4bbe1c61..1696b51a53 100644 --- a/DOCS/man/vo.rst +++ b/DOCS/man/vo.rst @@ -548,6 +548,16 @@ Available video output drivers are: X11/GLX only. + ``dwmflush`` + Calls ``DwmFlush`` after swapping buffers on Windows (default: 0). + It also sets ``SwapInterval(0)`` to ignore the OpenGL timing. Values + are: 0 (disabled), 1 (only in windowed mode), 2 (also in full screen). + This may help getting more consistent frame intervals, especially with + high-fps clips - which might also reduce dropped frames. Typically a + value of 1 should be enough since full screen may bypass the DWM. + + Windows only. + ``sw`` Continue even if a software renderer is detected. -- cgit v1.2.3