mpv/DOCS
xylosper 5b4d587ede vo_opengl_cb: introduce frame queue
The previous implementation of opengl-cb kept only latest flipped frame.
This can cause massive frame drops because rendering is done asynchronously
and only the latest frame can be rendered.

This commit introduces frame queue and releated options to opengl-cb.

frame-queue-size: the maximum size of frame queue (1-100, default: 1)
frame-drop-mode: behavior when frame queue is full (pop, clear, default: pop)

The frame queue holds delayed frames and drops frames if the frame queue is
overflowed with next method:

'pop' mode: drops all the oldest frames overflown.
'clear' mode: drops all frames in queue and clear it.

With default options(frame-queue-size=1:frame-drop-mode=pop),
opengl-cb behaves in the same way as previous implementation effectively.

For frame-queue-size > 1, opengl-cb tries to calls update() without waiting
next flip_page() in order to consume queued frames.

Signed-off-by: wm4 <wm4@nowhere>
2015-01-08 18:50:25 +01:00
..
client_api_examples DOCS/client_api_examples: add an alternative qml example 2015-01-08 02:40:30 +01:00
man vo_opengl_cb: introduce frame queue 2015-01-08 18:50:25 +01:00
client-api-changes.rst client API: add function to create new mpv_handles from existing ones 2014-12-31 20:50:06 +01:00
compile-windows.md DOCS: add instructions for building with MSYS2 2015-01-08 19:29:55 +11:00
contribute.md DOCS/contribute.md: remove unintentional headline 2014-12-11 21:33:01 +01:00
edl-mpv.rst Drop libquvi support 2014-10-25 20:18:22 +02:00
encoding.rst manpage: update config file locations 2014-06-28 15:55:09 +02:00
release-policy.md DOCS: mark the recent release in client-api-changes.rst 2014-08-12 23:01:19 +02:00
tech-overview.txt DOCS/tech-overview.txt: some updates 2014-08-18 01:21:13 +02:00
waf-buildsystem.rst