diff options
| author | 2024-09-17 21:41:55 +0000 | |
|---|---|---|
| committer | 2024-09-17 21:41:55 +0000 | |
| commit | b9b45af8a7462387a9ece65a36546ad7b9976ccb (patch) | |
| tree | abbd46eefe818d542b2b359fbf4d5d6b0fa0d639 /libs/gui/BLASTBufferQueue.cpp | |
| parent | bcdb078859762d2d101165105aaeffda67a041a6 (diff) | |
| parent | af15fabf36de6b9a5ca9ed5ba1076bc9a9aa2da2 (diff) | |
Merge "Pass an apply token to BBQ" into main
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 94998e5ab7..c65eafa541 100644 --- a/libs/gui/BLASTBufferQueue.cpp +++ b/libs/gui/BLASTBufferQueue.cpp @@ -1266,6 +1266,11 @@ void BLASTBufferQueue::setTransactionHangCallback(      mTransactionHangCallback = std::move(callback);  } +void BLASTBufferQueue::setApplyToken(sp<IBinder> applyToken) { +    std::lock_guard _lock{mMutex}; +    mApplyToken = std::move(applyToken); +} +  #if COM_ANDROID_GRAPHICS_LIBGUI_FLAGS(BUFFER_RELEASE_CHANNEL)  BLASTBufferQueue::BufferReleaseReader::BufferReleaseReader(  |