Fix gradual deterioration of cadence based rendering.
When a cadence based rendering sequence exceeds drift, we should not count the over-rendered frame against the next in sequence. Doing so causes an accumulation of errors. Also extends the moving average for durations to 32 values and the allowable drift to 16.66ms to stabilize the Catzilla 60fps and Elite: Dangerous 60fps clips, which were hitting hysteresis very frequently. BUG=439548 TEST=new unittest. Review URL: https://codereview.chromium.org/1139973003 Cr-Commit-Position: refs/heads/master@{#329987}
Showing
Please register or sign in to comment