diff options
| author | 2020-01-27 14:18:28 -0800 | |
|---|---|---|
| committer | 2020-01-27 15:06:56 -0800 | |
| commit | 181abd3e78b94026352b644a350b859acd552004 (patch) | |
| tree | e02d2d77a2021db24ed5a182ca8b9f12bd6676b3 /libs/gui/BLASTBufferQueue.cpp | |
| parent | b2a6955c6bc7a59b916cf71347afc9c7e57c54ee (diff) | |
Add desired present time to BLAST adapter
Bug: 146345307
Test: build, boot, libgui_test
Change-Id: If58b192a97d982b877bfdf9f2f4f5b3086e89b3c
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
| -rw-r--r-- | libs/gui/BLASTBufferQueue.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/gui/BLASTBufferQueue.cpp b/libs/gui/BLASTBufferQueue.cpp index d2b25a23e4..3f359f537f 100644 --- a/libs/gui/BLASTBufferQueue.cpp +++ b/libs/gui/BLASTBufferQueue.cpp @@ -155,6 +155,7 @@ void BLASTBufferQueue::processNextBufferLocked() { t->setCrop(mSurfaceControl, computeCrop(bufferItem)); t->setTransform(mSurfaceControl, bufferItem.mTransform); t->setTransformToDisplayInverse(mSurfaceControl, bufferItem.mTransformToDisplayInverse); + t->setDesiredPresentTime(bufferItem.mTimestamp); if (applyTransaction) { t->apply(); |