summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Ady Abraham <adyabr@google.com> 2021-03-25 13:09:17 -0700
committer Ady Abraham <adyabr@google.com> 2021-03-29 20:49:03 +0000
commit5cc2e266e0c504c66988f48a8ab1794d2ddd4dfe (patch)
tree45e324c377e7945b4a1810a8afe9c9b0d6115b0f /libs/gui/BufferQueueThreadState.cpp
parentcb45c1389f6228711c23740881c1fb5aab310405 (diff)
SurfaceFlinger: fix refresh rate override when changing refresh rate
If an app's frame rate is same as the display refresh rate, keep it on the frame rate override list. The reason for this is if an app is added to the list after the display refresh rate changed, the few first frames would be running the the display refresh rate and not at the override one. Test: atest FrameRateOverrideHostTest Test: run TouchLatency while changing refresh rates and collect systrace Bug: 182544360 Change-Id: I66472a1230affae9336520083f0950ae252ede02
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions