summaryrefslogtreecommitdiff
path: root/libs/gui/BLASTBufferQueue.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2023-11-08 05:08:58 -0800
committer Vishnu Nair <vishnun@google.com> 2023-11-09 00:25:02 +0000
commit41376b6f32b5b79524f3c6d6b6f39861a14f9059 (patch)
tree0877bc7b15477a7402dd64f483cb6c569c88fea2 /libs/gui/BLASTBufferQueue.cpp
parent2ae4e9807e67842d802d7bd5c43f5a3d8d712dbd (diff)
Update LayerHistory layer properties when they change
Previously we would only update LayerHistory when framerate changed or there was a buffer update. This occasionally lead to an incorrect frame rate being calculated with stale data. Fix this by updating layer properties when ever they change. Fixes: 306710286, 306716374 Test: presubmit Test: atest CtsSurfaceControlTests CtsSurfaceControlTestsStaging Test: displays runs at 60fps when maps is running after screenrotation Change-Id: I14388ca69eb6f940c436f88d55cff689e51bc238
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions