Skip to content
Snippets Groups Projects
Commit faaf9202 authored by Thomas Guillem's avatar Thomas Guillem Committed by Jean-Baptiste Kempf
Browse files

android: display: always call render_ts()

From the Android documentation:

"""
if multiple buffers are sent to the Surface to be rendered at the same
VSYNC, the last one will be shown, and the other ones will be dropped.

if the timestamp is not "reasonably close" to the current system time,
the Surface will ignore the timestamp, and display the buffer at the
earliest feasible time. In this mode it will not drop frames.
"""

So, if the picture date is in the past, render_ts() will display it
immediately (unless a future picture with the same VSYNC is pushed just
after).

If the picture date is more than 1 seconds in the future, render_ts()
will behave like render().
parent 74b765d8
No related branches found
No related tags found
Loading
Pipeline #342595 passed with stages
in 31 minutes and 53 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment