diff options
author | 2021-06-23 16:27:57 -0700 | |
---|---|---|
committer | 2021-06-24 00:33:36 +0000 | |
commit | 3bd61066f8773faf20d387f9ff37bcf86e9ccfc1 (patch) | |
tree | b059658b81f61bd11459c1a8b4aca6d56adce279 /libs/gui/SurfaceComposerClient.cpp | |
parent | a8f9cdbc77fee0bd5a1527342af4e2ceb9487b50 (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