diff options
| author | 2021-09-07 14:49:14 +0000 | |
|---|---|---|
| committer | 2021-09-07 14:49:14 +0000 | |
| commit | 13753f4a411afc844c8adda244c621df018e977c (patch) | |
| tree | 991ec5e1330d02d8005cbc02f792a9ca40c0de60 /libs/gui/BLASTBufferQueue.cpp | |
| parent | a2b79f622a67ecdfe69cd4055dbf7c6ff939f43c (diff) | |
| parent | 0b020f857920d49b8fc421dceea40182865ef336 (diff) | |
Merge "Added getLastAcquiredFrameNum"
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
| -rw-r--r-- | libs/gui/BLASTBufferQueue.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/gui/BLASTBufferQueue.cpp b/libs/gui/BLASTBufferQueue.cpp index d1f57b03bc..982dd63a8c 100644 --- a/libs/gui/BLASTBufferQueue.cpp +++ b/libs/gui/BLASTBufferQueue.cpp @@ -856,4 +856,9 @@ uint32_t BLASTBufferQueue::getLastTransformHint() const { } } +uint64_t BLASTBufferQueue::getLastAcquiredFrameNum() { + std::unique_lock _lock{mMutex}; + return mLastAcquiredFrameNumber; +} + } // namespace android |