commit | 85b3f01b5e5b89a0453d0e0eb6c9bd62e05bb2ef | [log] [tgz] |
---|---|---|
author | Ady Abraham <adyabr@google.com> | Mon Apr 08 11:04:14 2019 -0700 |
committer | Ady Abraham <adyabr@google.com> | Mon Apr 08 11:04:34 2019 -0700 |
tree | b07f2d59ed2f18bdeda4be00a360d0f096429f06 | |
parent | 8f1ee7fdcf5c602aa87a93b727a696bb8e9eddb0 [diff] |
SurfaceFlinger: better fit content to refresh rate Enhance the current algorithm for content based refresh rate selection to choose a refresh rate that aligns better to the content. If no refresh rate fits to the content we choose the lower one. Fixes: 129874336 Test: Swappy render at 90fps, 45fps, 30fps Test: Youtube video playback on 24fps, 25fps, 30fps, and 60fps Change-Id: Ia6b1f2a1d78e257e0de99ba12c14ca3721b4ad26