summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorHaixia Shi <hshi@google.com>2015-10-28 16:19:01 -0700
committerHaixia Shi <hshi@google.com>2015-10-29 14:04:46 -0700
commitafe55556dbebfd3f49531c813b293080954e73b6 (patch)
treecaf58882ef289369a5d290d154f89fd87992c3d1 /opengl/tests/gl_basic/gl_basic.cpp
parentc449da22f3dfc3b947a2305f2831de19d84bf193 (diff)
SF: more DispSync improvements.
Pass the reference time to DispSyncThread. Since the phase offset is calculated using timestamps relative to the reference time, we must also adjust the phase offset by the same reference time when computing the next refresh time. Always reset phase offset to zero when updating the reference time because the reference time equals the first timestamp. After beginResync() we need to keep HW vsync enabled until the model is updated. Bug: 25113115 Change-Id: I8eae227bee91c24a99bf8e57fbebceb98d29c77d Test: check in systrace that app/sf vsync events have correct phase
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions