diff options
| author | 2019-08-26 12:04:07 -0700 | |
|---|---|---|
| committer | 2019-08-26 12:13:42 -0700 | |
| commit | f83570cba98776df78b473b4e6bdaa709215b1ed (patch) | |
| tree | 9d5b9ea32a7afc04a5ac470b9429bc27e12d178f /vulkan/libvulkan/api.cpp | |
| parent | 13db07b6bcccb58ce51a385399e7288aaab0e077 (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