summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Ady Abraham <adyabr@google.com> 2021-06-30 14:55:42 -0700
committer Ady Abraham <adyabr@google.com> 2021-06-30 22:28:20 +0000
commit1047e5eff4f92231530d28e6be82b6c24da5d4f1 (patch)
tree51ef017855f110d45eceb96b6820cc39a4a90b5e /libs/gui/BufferQueueThreadState.cpp
parente89521f7c24f04045b2bbf6cb73857e17381ff9e (diff)
SF: Update RefreshRateOverlay before SF applies transactions
The current implementation of RefreshRateOverlay changes it's buffer to reflect the upcoming refresh rate after SF applies transaction. This is causing SF to see a layer update and reset the idle timer, entering a live loop of refresh rate switches. Instead, we update the RefreshRateOverlay when the refresh rate change is done and before SF applies transactions for the next frame. Bug: 192204776 Test: Enable RefreshRateOverlay on a device with idle timer enabled Change-Id: Ie904d6f37b7a02126d52a6267246afaf33982eff
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions