commit | b1b9d41c73cfb388a81a2bc45b0c6708e2e627f7 | [log] [tgz] |
---|---|---|
author | Ady Abraham <adyabr@google.com> | Mon Jun 01 19:53:52 2020 -0700 |
committer | Ady Abraham <adyabr@google.com> | Tue Jun 09 16:59:33 2020 -0700 |
tree | fb39bff05fb24b784939352229330b6eea078d86 | |
parent | 607a0c6d5a2bb18fdf11374a40f5ffedca96d650 [diff] |
SurfaceFlinger: define a known frame rates list Keep a list of known frame rates that would be used when we calculated heuristically the frame rate of a layer. This keeps the signal to the algorithm that chooses the refresh rate steady and avoid strange frame rates like 57.2 due to inconsistent presentation timestamps. Bug: 157540021 Test: adb shell /data/nativetest64/libsurfaceflinger_unittest/libsurfaceflinger_unittest Change-Id: I97a24b74605256646e9b8444bd9f3818fe0a4a2a