Viz: Consider LatencyInfo plumbing in RWHImpl::SubmitCompositorFrame |
|||||
Issue descriptionRenderWidgetHostLatencyTracker latency_tracker_ lives in RenderWidgetHostImpl. When we receive a CompositorFrame in RenderWidgetHostImpl::SubmitCompositorFrame, we add to its LatencyInfo. latency_tracker_.OnSwapCompositorFrame(&frame.metadata.latency_info); This cannot work with Viz. Maybe we can add a privileged host interface to Viz (A LatencyInfoObserver) that observes latency infos in frames, and passes them along to the host? This seems expensive. Maybe there's a better way to propagate this? Perhaps once per aggregation?
,
Oct 11 2017
,
Oct 16 2017
,
Oct 16 2017
,
Nov 16 2017
This is plumbed in Viz here: https://cs.chromium.org/chromium/src/components/viz/service/frame_sinks/compositor_frame_sink_support.cc?sq=package:chromium&dr=CSs&l=176 LatencyTracker is owned by DisplayOutputSUrface, and it takes care of reporting a bunch of UMA and UKM metrics. So closing this as fixed. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by fsamuel@google.com
, Oct 3 2017