DescriptionFix latency calculation when multiple rendered buffers are in flight.
This is particularly important on ChromeOS with freon stack.
SwapBuffers ack is sent when the buffers actually swapped, not when the
call to swap them was made. This changed the scheduler behavior and delayed
beginning of the next frame, so to regain it we allowed multiple in flight
frames. The effect this has on latency info is that two frames arriving in
rapid succession would override incorrect latency info making it look like
things ultimately happened earlier than they did.
This patch associates latency info with a particular frame's callback
thus avoiding it being overridden.
BUG=485302
Committed: https://crrev.com/569a70b0d222c25fa312abc21ab11e501489c22e
Cr-Commit-Position: refs/heads/master@{#329936}
Patch Set 1 : #
Total comments: 2
Patch Set 2 : #
Messages
Total messages: 15 (5 generated)
|