cc: Make scheduler run incoming frame after previous deadline

Desktop / Chromium - Sunny Sachanandani [chromium.org] - 19 April 2017 18:04 EDT

When removing retro frames I made the incoming frame run the previous frame's deadline synchronously. This is believed to have regressed Event.Latency.OS.TOUCH_MOVED UMA metric. This CL changes the scheduler to queue the incoming frame and post a task for it after the previous deadline runs. This is a speculative fix for the UMA regression.

R=enne BUG=702372

CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel

Change-Id: I0d8b0a5df90186b2158e4249540929b9b5ecc70b Reviewed-on: https://chromium-review.googlesource.com/478852

d920c93 cc: Make scheduler run incoming frame after previous deadline.
cc/scheduler/begin_frame_tracker.cc | 2 +-
cc/scheduler/begin_frame_tracker.h | 3 +-
cc/scheduler/scheduler.cc | 148 +++++++++++++++++++++---------------
cc/scheduler/scheduler.h | 5 +-
cc/scheduler/scheduler_unittest.cc | 66 +++++++++++++++-
5 files changed, 156 insertions(+), 68 deletions(-)

Upstream: git.chromium.org


  • Share