commit | 016025220cccd0ee963829340346b2f989722cab | [log] [tgz] |
---|---|---|
author | Dominik Laskowski <domlaskowski@google.com> | Fri Oct 07 19:02:28 2022 -0400 |
committer | Dominik Laskowski <domlaskowski@google.com> | Thu Oct 13 12:50:33 2022 -0400 |
tree | 368d40019ec2ddb542a9ac4035a3388263a6eb79 | |
parent | 327d609d643eed24c8d0c527f121099ed44b8b1f [diff] |
SF: Simplify per-display refresh rate selection Remove verbose, single-use helper functions/types to centralize the selection logic and merge two passes. Avoid allocation and hashing. Fix the algorithm to not choose a refresh rate based on total score unless it is common to all displays, and not be thrown off by equal scores. Bug: 241285191 Test: libsurfaceflinger_unittest Change-Id: I355dea767c6b564a04a51476f0cc235a1fceb879