summaryrefslogtreecommitdiff
path: root/libs/ui/FramebufferNativeWindow.cpp
diff options
context:
space:
mode:
author Haixia Shi <hshi@google.com> 2015-10-28 16:19:01 -0700
committer Haixia Shi <hshi@google.com> 2015-10-30 13:16:33 -0700
commit676b1f6ed0d637b7eb1858361e0d09068f26e9fa (patch)
tree3c10e0560a60afa533ba7d28ba066a0ee4208047 /libs/ui/FramebufferNativeWindow.cpp
parent664339a8e8d3f2d5acd5728dae666cc9a14e08f3 (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 'libs/ui/FramebufferNativeWindow.cpp')
0 files changed, 0 insertions, 0 deletions