summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Ady Abraham <adyabr@google.com> 2022-08-13 05:12:13 +0000
committer Ady Abraham <adyabr@google.com> 2022-08-17 12:48:53 -0700
commitae2e3c741f0d15d0ed64afd2df93e8c4b2d76cfb (patch)
tree9a3b0f83df8fd821e2a977ba45a91a255648a510 /libs/gui/BufferQueueThreadState.cpp
parenta62797e49af1ffcab35d86930ef988261cc30334 (diff)
SF: fix refresh rate scoring when frameRateMultipleThreshold is used
We can't exclude layers that are below the frameRateMultipleThreshold when scoring the higher refresh rates (the ones above the threshold) as it creates gives the lower refresh rates a higher score (as there are more layers that are allowed to score them). Instead we use a different approach which first scores the refresh rates based on all the layers but the fixed source ones, and then we add the fixed source ones for the refresh rates below the thresholds and for the above ones only when other layers already scored them. Bug: 242283390 Test: newly added unit tests scenarios Change-Id: Ibe30ddd306265507ceedff6a6a725dadadc50af2
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions