summaryrefslogtreecommitdiff
path: root/libs/gui/BLASTBufferQueue.cpp
diff options
context:
space:
mode:
author Ady Abraham <adyabr@google.com> 2021-03-04 16:24:25 -0800
committer Ady Abraham <adyabr@google.com> 2021-03-08 13:18:56 -0800
commit43752eba5a28f2b923cded40b3d6e6d1db968a08 (patch)
tree4f414bd159073a34b5c49109e568e96380dbb947 /libs/gui/BLASTBufferQueue.cpp
parenta170ec6a87f2720eb9846ea75cd9807db54b12ad (diff)
SurfaceFlinger: get nextPredictedPresentTime directly from frame timeline
ag/13715677 moved the call to check whether a frame is early or not before a transaction is applied. This created a bug in BufferStateLayer::nextPredictedPresentTime since it is checking the drawing state surface frame, which is not valid since the transaction is not applied yet. This CL is fixing this by pasing the vsync id itself, and getting the expected present time base on that vsync id. Change-Id: I0f95f2a3a2efff921964a6fb5f9b50e0fcc65a85 Test: launch an app and observe systraces Bug: 181978893
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions