summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Dominik Laskowski <domlaskowski@google.com> 2019-08-26 12:04:07 -0700
committer Dominik Laskowski <domlaskowski@google.com> 2019-08-26 12:13:42 -0700
commitf83570cba98776df78b473b4e6bdaa709215b1ed (patch)
tree9d5b9ea32a7afc04a5ac470b9429bc27e12d178f /vulkan/libvulkan/api.cpp
parent13db07b6bcccb58ce51a385399e7288aaab0e077 (diff)
SF: Fix threshold for next VSYNC
If debug.sf.phase_offset_threshold_for_next_vsync_ns is not set, the threshold is set to the maximum nsecs_t value. A narrowing conversion caused the value to overflow to -1, leading to garbage phase offsets. Bug: 138813900 Bug: 139284671 Bug: 138942712 Test: dumpsys SurfaceFlinger --vsync Test: atest google/perf/app-transition/app-transition-cold Change-Id: Ib7f732be95d16d29f4a71602b56795bee09be37b
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions