summaryrefslogtreecommitdiffstats
path: root/cc/trees/layer_tree_host_unittest_context.cc
diff options
context:
space:
mode:
authordalecurtis <dalecurtis@chromium.org>2015-05-18 17:30:11 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-19 00:30:14 +0000
commitb5814778060deb32c31605bfe0b82cd2baeae866 (patch)
treea5cb4e6947c08f8f2757b7ee452407214d0ab5f3 /cc/trees/layer_tree_host_unittest_context.cc
parent0e679b21d216c1bee75511d50f2ecc6fedabf01a (diff)
downloadchromium_src-b5814778060deb32c31605bfe0b82cd2baeae866.zip
chromium_src-b5814778060deb32c31605bfe0b82cd2baeae866.tar.gz
chromium_src-b5814778060deb32c31605bfe0b82cd2baeae866.tar.bz2
Drop frames less than a millisecond apart in media time.
Our rendering path has no reasonable expectation of being able to render 1000fps content, so these are bad timestamps that end up wrecking assumptions throughout the rendering pathway. Instead of trying to guard against these frames everywhere, just discard them immediately during enqueue. BUG=488302 TEST=new unittest Review URL: https://codereview.chromium.org/1142723002 Cr-Commit-Position: refs/heads/master@{#330458}
Diffstat (limited to 'cc/trees/layer_tree_host_unittest_context.cc')
0 files changed, 0 insertions, 0 deletions