summaryrefslogtreecommitdiff
path: root/libs/jpegrecoverymap/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author Dominik Laskowski <domlaskowski@google.com> 2022-10-07 19:02:28 -0400
committer Dominik Laskowski <domlaskowski@google.com> 2022-10-13 12:50:33 -0400
commit016025220cccd0ee963829340346b2f989722cab (patch)
tree368d40019ec2ddb542a9ac4035a3388263a6eb79 /libs/jpegrecoverymap/jpegencoderhelper.cpp
parent327d609d643eed24c8d0c527f121099ed44b8b1f (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
Diffstat (limited to 'libs/jpegrecoverymap/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions