Don't count zero-cadence frames as having been dropped.
Without this change, things like 120fps in 60hz (60fps @ 2x rate) count every other frame as dropped since the cadence is [1:0]. Since dropped frames are used as performance indicators for various sites, we shouldn't consider these as dropped when they were fully considered and just chosen to be skipped for smoothness. BUG=856772 TEST=YT 60fps @ 2x playback rate, updated unittests. Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel Change-Id: I9520504bd7cb48dfadf3f403121dcd59b739b4fe Reviewed-on: https://chromium-review.googlesource.com/1115698 Commit-Queue: Dale Curtis <dalecurtis@chromium.org> Reviewed-by:Thomas Guilbert <tguilbert@chromium.org> Cr-Commit-Position: refs/heads/master@{#570583}
Showing
Please register or sign in to comment