summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Ady Abraham <adyabr@google.com> 2021-06-02 21:04:28 -0700
committer Ady Abraham <adyabr@google.com> 2021-06-02 21:04:46 -0700
commitd1feb3c35952b2eec11aa99eb925edfb3e868359 (patch)
treebbe800beab1e0cf80cd7045b18ad1e525c80a62b /vulkan/libvulkan/api.cpp
parentf1804968780f975fa8fe361c480a15e8dd85d131 (diff)
SurfaceFlinger: set the refresh rate on overlay when calling to hwc
Change the refresh rate value on the overlay right after we set the new refresh rate to hwc, instead of when we intend to change the refresh rate. The latter may cause the display to freeze due to a race condition where we intend to switch the refresh rate and then abort (due to a infrequent layer update for example). Bug: 183902142 Test: Swipe app to see app drawer and wait for the refresh rate to change Change-Id: Id78efb96571b978d8adaabcff9aa30c32fe67786
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions