summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Ady Abraham <adyabr@google.com> 2023-08-16 11:02:00 -0700
committer Ady Abraham <adyabr@google.com> 2023-08-17 17:09:25 +0000
commit90f7fd29d616222a63d9021799186adea3636c93 (patch)
treee845a11ec0f6ed9f60379589e1dced3354cbcf4e /libs/gui/ConsumerBase.cpp
parent2e039f957e2ca56af46cbe379f9de0f10c3c94f4 (diff)
SF: use frame rate override even when the physical range is single
When the physical range is a single rate (e.g. 120Hz), render rates where discarded if they could be run at a lower physical rate (e.g. 30fps of 60Hz). This CL enables these frame rates to be able to save power by running on a slower rate. Bug: 296079213 Test: play 30fps video while the device policy has a single physical refresh rate Test: atest libsurfaceflinger_unittest Change-Id: I4d6d6ddffd6004022d02329148709204ff9d57db
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions