diff options
author | Avi Halachmi (:avih) <avihpit@yahoo.com> | 2015-03-17 01:15:28 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-04-09 20:36:35 +0200 |
commit | 843bc822a8a7974c7fbeea62525cb56bbab23fde (patch) | |
tree | 0ce52c36cbae7804ce12d922c3bddc6bcb0dda25 /DOCS | |
parent | c97f014576143c706e9d5189a89fa9959a651c71 (diff) | |
download | mpv-843bc822a8a7974c7fbeea62525cb56bbab23fde.tar.bz2 mpv-843bc822a8a7974c7fbeea62525cb56bbab23fde.tar.xz |
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 <wm4@nowhere>
Diffstat (limited to 'DOCS')
-rw-r--r-- | DOCS/man/vo.rst | 10 |
1 files changed, 10 insertions, 0 deletions
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. |