vo_opengl: disable glFlush() by default, and add an option to enable it

It seems this can cause issues with certain platforms, so better to
disable it by default. The original reason for this isn't overly
justified, and display-sync mode should get rid of the need for it
anyway.

The new option is meant for testing, and will probably be removed if
nobody comes up and reports that enabling the option actually improves
anything.
This commit is contained in:
wm4
2016-10-05 12:18:44 +02:00
parent 387f501278
commit 6789f9b094
3 changed files with 10 additions and 1 deletions

View File

@@ -4591,6 +4591,11 @@ The following video options are currently all specific to ``--vo=opengl`` and
we may have to deal with additional padding, which can be tested with these
options). Could be removed any time.
``--opengl-early-flush=<yes|no>``
Call ``glFlush()`` after rendering a frame and before attempting to display
it (default: no). Can fix stuttering in some causes, in other cases probably
causes it. For testing - could be removed any time.
Miscellaneous
-------------