Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6569cd19 authored by ramindani's avatar ramindani
Browse files

SF: Filter the VSyncs below 200ms from VSyncPredictor

When adding the vsync timestamp ignore the timestamps
that are older than 200ms, old vsyncs can become outdated
and causes the intercept and anticipatedPeriod to be incorrect
from the current values.

Bug: 411593328
Bug: 385059265
Flag: com.android.graphics.surfaceflinger.flags.vsync_predictor_predicts_within_threshold
Test: atest VSyncPredictorTest
Change-Id: Idac39c97a87ba4c21b6edcebaa23a1d78491e9b1
parent fe2ccd6c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment