DescriptionReschedule COMPOSITE_EVENTUALLY instead of COMPOSITE_IMMEDIATELY if we miss a browser frame
If we miss a browser frame, reschedule a new COMPOSITE_EVENTUALL, there will be
high latency/jank before the next composite happens, but this will keep the
browser compositor and renderer compositor in sync (low latency mode). While if
we COMPOSITOR_IMMEDIATELY, it could make the browser compositor always one frame
behind renderer compositor (high latency mode).
BUG=379264
TEST=record a trace for the following test:
scroll on a simple page, first with top control hidden, then transit into showing the
top control.
With COMPOSITE_IMMEDIATELY, the latency graph shows that the scroll latency jumps up
at the point of transition and stays at high latency mode.
With COMPOSITE_EVENTUALL, the latency graph shows that the scroll latency jumps up
at the point of transition but comes back to normal after.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=274640
Patch Set 1 #
Total comments: 2
Patch Set 2 : add more comments #Messages
Total messages: 6 (0 generated)
|