commit | 7ab7a81845a393625542434c1ece09e0d59eaa28 | [log] [tgz] |
---|---|---|
author | Mark Renouf <mrenouf@google.com> | Wed May 11 15:27:30 2022 -0400 |
committer | Mark Renouf <mrenouf@google.com> | Thu May 12 20:44:09 2022 +0000 |
tree | 4783e850ba345dea404e7ad1d290a4c13364aafe | |
parent | 1c0a4f1cee6fff80ae0324d794b622e3a1f75c8c [diff] |
Use System.nanoTime(), avoid desyncing frame times The rendering pipeline expects frame vsync times as System.nanoTime(). When the frame vsync time is behind the most recent frame, the render request is dropped [*]. This reverts the value back to System.nanoTime() which was accidentally changed in ag/15819081. * frameworks/base/libs/hwui/renderthread/TimeLord.cpp:46 Bug: 217046739 Test: ??? Change-Id: I21d8737e7acb5ac13bfbcf150006415431d874aa