summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/RegionSamplingThread.cpp
diff options
context:
space:
mode:
author Ady Abraham <adyabr@google.com> 2021-09-16 15:58:52 -0700
committer Ady Abraham <adyabr@google.com> 2021-09-16 15:59:16 -0700
commit05243be5e9d22687852d989d3ce28748d66db255 (patch)
treedb5f26cf94d66123b0a54eda8c704bef02103a2d /services/surfaceflinger/RegionSamplingThread.cpp
parente0c7426d8e52171f9652817388d7ec0dfebc43b5 (diff)
SF: give a higher score to frame rates which exact matches
To avoid cases where devices with very close refresh rates (such as 53Hz and 55Hz) gives the same score for these, assign a small (0.99) factor to frame rate that are not exact match of a multiple of the refresh rate Test: atest FrameRateCtsActivity Test: atest RefreshRateConfigsTest Bug: 190578904 Change-Id: Idd32600ccacc0cad8f44c9d9373e50a333663717
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions