diff options
author | Haixia Shi <hshi@google.com> | 2015-10-28 16:19:01 -0700 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2016-07-20 04:16:16 -0700 |
commit | 179bd77ab69361f3f26a50e01781be9cad78a4d1 (patch) | |
tree | 64ea749dae71e633ab58d03e126223e44d635cc2 /libs | |
parent | 95cda3b92faf69f2ed594ee87a7e1e7499bd0060 (diff) | |
download | frameworks_native-179bd77ab69361f3f26a50e01781be9cad78a4d1.zip frameworks_native-179bd77ab69361f3f26a50e01781be9cad78a4d1.tar.gz frameworks_native-179bd77ab69361f3f26a50e01781be9cad78a4d1.tar.bz2 |
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')
0 files changed, 0 insertions, 0 deletions