summaryrefslogtreecommitdiff
path: root/libs/binder/BufferedTextOutput.cpp
diff options
context:
space:
mode:
author Steven Thomas <steventhomas@google.com> 2019-08-28 16:08:35 -0700
committer Steven Thomas <steventhomas@google.com> 2020-03-23 16:28:12 -0700
commite9eb183791a5a16caf6b127b68e9510f541f5fdf (patch)
tree2e2550778e13da7edad81a8da60ee4fc509e6d54 /libs/binder/BufferedTextOutput.cpp
parentd3cb60fb04542c2bafc66880b8dae4a95324e37a (diff)
Add a flag for refresh rate switching
Some devices don't do refresh rate switching, so we should take that into account when filtering display manager config settings and deciding scheduling behavior. This CL adds a sysprop that can be set to indicate if surface flinger should do refresh rate switching, and modifies surface flinger to have the correct behavior when we're not doing refresh rate switching. Bug: 147233255 Bug: 136592946 Bug: 138261472 Test: Ran through various 60/90 switching scenarios on a device with refresh rate switching. Test: Set the refresh rate switching sysprop to false, and confirmed we get a consistent 60Hz. Test: Inspected dumpsys output and confirmed it looks correct. In particular, refresh rate stats are output correctly. Test: Ran automated tests: RefreshRateConfigsTest, RefreshRateStatsTest, SchedulerTest. Change-Id: I54cd5be9d2c1b9abc8475c3ce39846cbe9f9fe53 Merged-In: I54cd5be9d2c1b9abc8475c3ce39846cbe9f9fe53
Diffstat (limited to 'libs/binder/BufferedTextOutput.cpp')
0 files changed, 0 insertions, 0 deletions