cc: Make DisplayScheduler use later deadline when swap throttled.
commitdc368ff7807599ab08485086b228c0aaad609ec2
authorbrianderson <brianderson@chromium.org>
Wed, 15 Jul 2015 03:50:14 +0000 (14 20:50 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 15 Jul 2015 03:51:02 +0000 (15 03:51 +0000)
tree43381c807cfa0afb1850b69f563b23ee2d9b51c9
parent940f7967d80342573bee0137a456022ea40b3c65
cc: Make DisplayScheduler use later deadline when swap throttled.

This makes swap throttling behavior of the DisplayScheduler match
cc::Scheduler.

Using an earlier deadline hurts throughput without necessarily
helping latency. In the future we should have more explicit
latency recovery in the DisplayScheduler - but only when we
know we are fast enough.

BUG=496766
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

Review URL: https://codereview.chromium.org/1230153004

Cr-Commit-Position: refs/heads/master@{#338812}
cc/surfaces/display_scheduler.cc
cc/surfaces/display_scheduler_unittest.cc