commit | 32e89bc58c6b6f2ac5a802a9abcb24ea8e4489b7 | [log] [tgz] |
---|---|---|
author | Ady Abraham <adyabr@google.com> | Wed Jun 19 17:01:57 2019 -0700 |
committer | Ana Krulec <akrulec@google.com> | Tue Sep 03 19:17:56 2019 -0700 |
tree | 6573e370b8abfb074e961aa16cf10c44bf3a7b98 | |
parent | 886c22b00b944d66389c8ad16354c440f3d10047 [diff] |
SurfaceFlinger: DispSync: negative offsets when model is unlocked When getting a HWVsync timestamp in DispSync, we correct the last event time to reflect the actual HWVsync time by setting it based on HWVsync. This logic needs to account for both positive and negative offsets. Bug: 135631964 Test: sanity Change-Id: I77a1e13d739e558d6cdf43c298e6fcee49d517b5 (cherry picked from commit 81ca00ff8cd05913fe0e97e0f97b3a9ae7ed3299)