summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Ady Abraham <adyabr@google.com> 2019-06-27 11:24:19 -0700
committer Ana Krulec <akrulec@google.com> 2019-09-03 19:36:01 -0700
commit5c08044a21b2c711f4bcafdf8a3e2d59f5683a7b (patch)
tree84da3629c8b322bcb8472fae85c7ab6fbee182dd /vulkan/libvulkan/api.cpp
parentd4043c8873e923e90bd062afeee49688217a39ca (diff)
SurfaceFlinger: correct negative offset when refresh rate changes
VsyncModulator sets the phase offset on DispSync source only when it changes. However, negative offsets depends on the vsync period so setting the same negative offset might result in a different wake up time i.e. -5ms on 60Hz is 11ms after the previous vsync where on 90Hz is 6ms after the previous vsync. Test: UI-Bench Bug: 135283780 Bug: 135297302 Change-Id: I6a05cd48d563a51d2ee38927c23d4946dd142f4b (cherry picked from commit 11b6a70c6f6780f2f878ed3e103b5ffbb0b8fc26) Merged-In: I6a05cd48d563a51d2ee38927c23d4946dd142f4b
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions