diff options
author | Jesse Hall <jessehall@google.com> | 2013-10-13 13:18:58 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2013-10-13 13:18:58 -0700 |
commit | 44b09f8b55bef56e06ad584db231916c17e30f5b (patch) | |
tree | 31686b5505999afdab80dd0109e8bf46e2378000 | |
parent | af4ae923c3f8a2e40d74eb6291da16b4a6514449 (diff) | |
parent | 44e45cfeb37a04c206730b12ff001525ebe42a7b (diff) | |
download | frameworks_native-44b09f8b55bef56e06ad584db231916c17e30f5b.zip frameworks_native-44b09f8b55bef56e06ad584db231916c17e30f5b.tar.gz frameworks_native-44b09f8b55bef56e06ad584db231916c17e30f5b.tar.bz2 |
am 44e45cfe: Merge "DispSync: don\'t compensate for wakeup latency" into klp-dev
* commit '44e45cfeb37a04c206730b12ff001525ebe42a7b':
DispSync: don't compensate for wakeup latency
-rw-r--r-- | services/surfaceflinger/DispSync.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/surfaceflinger/DispSync.cpp b/services/surfaceflinger/DispSync.cpp index b2a604c..167c6f0 100644 --- a/services/surfaceflinger/DispSync.cpp +++ b/services/surfaceflinger/DispSync.cpp @@ -110,7 +110,7 @@ public: } nextEventTime = computeNextEventTimeLocked(now); - targetTime = nextEventTime - mWakeupLatency; + targetTime = nextEventTime; bool isWakeup = false; @@ -228,7 +228,7 @@ private: nsecs_t t = computeListenerNextEventTimeLocked(mEventListeners[i], ref); - if (t - mWakeupLatency < now) { + if (t < now) { CallbackInvocation ci; ci.mCallback = mEventListeners[i].mCallback; ci.mEventTime = t; |