DescriptionChange input latency result to depend on start of GPU swap
Use INPUT_EVENT_GPU_SWAP_BUFFER_COMPONENT instead of
INPUT_EVENT_LATENCY_TERMINATED_FRAME_SWAP_COMPONENT as the
final component to calculate input latency.
This will more accurately reflect latency regressions in the
code we have direct control of in Chrome.
Also make PassThroughImageTransportSurface::PostSubBuffer
add a INPUT_EVENT_GPU_SWAP_BUFFER_COMPONENT, which it
was missing before.
Followup patches will snap
INPUT_EVENT_LATENCY_TERMINATED_FRAME_SWAP_COMPONENT
to the next vsync to reflect the real display time.
The real display time can then be used for better
smoothness metrics and also to track latency regressions
at the OS/driver level for Ozone and potentially other
platforms where we can extract swap info.
BUG=360844
Committed: https://crrev.com/62a1ccd2bfd61886dcdb3fed4e020fd77771699f
Cr-Commit-Position: refs/heads/master@{#318812}
Patch Set 1 #Patch Set 2 : Change UMA, add GPU_SWAP_BUFFER to PostSubBuffer, more auto, sample fewer timestamps #Patch Set 3 : cleanup RWHLT #
Total comments: 1
Patch Set 4 : Address nullptr comment #Patch Set 5 : rebase #Patch Set 6 : rebase; need to fix unit tests; skip frames when swap throttled #Patch Set 7 : fix unittest #Patch Set 8 : skip late missed BFs; don't wait for browser long; Renderer latency recovery #
Messages
Total messages: 29 (11 generated)
|