diff options
| author | 2020-04-13 19:41:40 +0000 | |
|---|---|---|
| committer | 2020-04-13 19:41:40 +0000 | |
| commit | 8aa787d298ea4596c4e71eb0eca9aee2053b656d (patch) | |
| tree | fef6a41afbb81df8e6bc9e147e6f9025c0c6f471 /services/surfaceflinger/BufferStateLayer.cpp | |
| parent | 27cbed7f9eb1330963dd60bc35d2742d6136107a (diff) | |
| parent | a6bb2bc91914e1af8394f319911cce73b57355bf (diff) | |
Merge "Buffer(Queue/State)Layer: Consolidate preparePerFrameCompositionState" into rvc-dev
Diffstat (limited to 'services/surfaceflinger/BufferStateLayer.cpp')
| -rw-r--r-- | services/surfaceflinger/BufferStateLayer.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/services/surfaceflinger/BufferStateLayer.cpp b/services/surfaceflinger/BufferStateLayer.cpp index 3e651713e4..a121ce0672 100644 --- a/services/surfaceflinger/BufferStateLayer.cpp +++ b/services/surfaceflinger/BufferStateLayer.cpp @@ -631,19 +631,6 @@ status_t BufferStateLayer::updateFrameNumber(nsecs_t latchTime) { return NO_ERROR; } -void BufferStateLayer::preparePerFrameCompositionState() { - BufferLayer::preparePerFrameCompositionState(); - - auto* compositionState = editCompositionState(); - if (compositionState->compositionType == Hwc2::IComposerClient::Composition::SIDEBAND) { - return; - } - - compositionState->buffer = mBufferInfo.mBuffer; - compositionState->bufferSlot = mBufferInfo.mBufferSlot; - compositionState->acquireFence = mBufferInfo.mFence; -} - void BufferStateLayer::HwcSlotGenerator::bufferErased(const client_cache_t& clientCacheId) { std::lock_guard lock(mMutex); if (!clientCacheId.isValid()) { |