mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
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:
@@ -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
|
||||
-------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user