From 439e2b43c33f48fe380d8c43c39836ec9a96064b Mon Sep 17 00:00:00 2001 From: James Ross-Gowan Date: Sun, 26 Mar 2017 01:49:19 +1100 Subject: vo_opengl: angle: add --angle-flip to set the present model DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL might be buggy on some hardware. Additionaly DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL might be supported on some Windows 7 systems with the platform update, but it might have poor performance. In these cases, the user might want to disable the use of DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL swap chains with --angle-flip=no. --- DOCS/man/options.rst | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'DOCS') diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index a50ae8a3cf..19e331a468 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -4384,8 +4384,21 @@ The following video options are currently all specific to ``--vo=opengl`` and chain will be used for D3D9. This option is mainly for debugging purposes, in case the custom swap chain has poor performance or does not work. - If set to ``yes``, the ``--angle-max-frame-latency`` and - ``--angle-swapchain-length`` options will have no effect. + If set to ``yes``, the ``--angle-max-frame-latency``, + ``--angle-swapchain-length`` and ``--angle-flip`` options will have no + effect. + + Windows with ANGLE only. + +``--angle-flip=`` + Enable flip-model presentation, which avoids unnecessarily copying the + backbuffer by sharing surfaces with the DWM (default: yes). This may cause + performance issues with older drivers. If flip-model presentation is not + supported (for example, on Windows 7 without the platform update), mpv will + automatically fall back to the older bitblt presentation model. + + If set to ``no``, the ``--angle-swapchain-length`` option will have no + effect. Windows with ANGLE only. -- cgit v1.2.3