summaryrefslogtreecommitdiff
path: root/libs/gui/SurfaceComposerClient.cpp
diff options
context:
space:
mode:
author rnlee <rnlee@google.com> 2021-06-23 16:27:57 -0700
committer Rachel Lee <rnlee@google.com> 2021-06-24 00:33:36 +0000
commit3bd61066f8773faf20d387f9ff37bcf86e9ccfc1 (patch)
treeb059658b81f61bd11459c1a8b4aca6d56adce279 /libs/gui/SurfaceComposerClient.cpp
parenta8f9cdbc77fee0bd5a1527342af4e2ceb9487b50 (diff)
Add sysprop for refresh rate threshold.
When the sysprop is enabled, layers asking for heuristic or multiple will not vote for multiples >= $threshold amount. For example, 24 fps would normally vote 120 hz because it is a multiple. Instead, it should use the scoring calculation to determine a refresh rate < 120 Hz. This addresses 24 fps videos for 60Hz and 120 Hz displays. The request wants the refresh rate vote to be 60 Hz. (see bug) BUG: 190815773 Test: atest libsurfaceflinger_tests Change-Id: If2619258b93fb9c30e09253266d3d65e1a732047
Diffstat (limited to 'libs/gui/SurfaceComposerClient.cpp')
0 files changed, 0 insertions, 0 deletions