commit | 0ed31c9457c6d9422969545739a821b242590120 | [log] [tgz] |
---|---|---|
author | Ady Abraham <adyabr@google.com> | Thu Apr 16 11:48:45 2020 -0700 |
committer | Ady Abraham <adyabr@google.com> | Thu Apr 16 20:53:17 2020 +0000 |
tree | ff33a9f4f66a383293b1c8b0d1ef719f2bf366fc | |
parent | 660628f2fa45af30a3261d3ee72b7194c20b2df9 [diff] |
SurfaceFlinger: use intended wake up time when calculating next present time If SurfaceFlinger wakes up too late (due to the main thread being busy) it may calculate a wrong presentation time as it is based on the wake up time. Instead, cache the intended wake up time and use it as the base time. Change-Id: I84c37bd5f164fbdef3151c0898d3cea624cea515 Bug: 154199567 Test: collect systrace for launcher scrolling