diff options
| author | 2019-06-18 14:47:43 -0700 | |
|---|---|---|
| committer | 2019-06-18 14:47:43 -0700 | |
| commit | b2b26909b61efd566db3044d53e258cd5b445166 (patch) | |
| tree | e5ff4b7cfffe1ff5141e522b162f5620c399c55b /libs/gui/BufferQueueProducer.cpp | |
| parent | 12536a8fdae818ec39ae274d7da561480f4e1d61 (diff) | |
Revert "Cache NATIVE_WINDOW_MAX_BUFFER_COUNT in Surface"
This reverts commit 12536a8fdae818ec39ae274d7da561480f4e1d61.
Bug: 135538872
Bug: 133187007
Test: dEQP-VK.wsi.android.surface#query_present_modes
Diffstat (limited to 'libs/gui/BufferQueueProducer.cpp')
| -rw-r--r-- | libs/gui/BufferQueueProducer.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libs/gui/BufferQueueProducer.cpp b/libs/gui/BufferQueueProducer.cpp index b005707fd2..9c311a314f 100644 --- a/libs/gui/BufferQueueProducer.cpp +++ b/libs/gui/BufferQueueProducer.cpp @@ -1199,7 +1199,6 @@ status_t BufferQueueProducer::connect(const sp<IProducerListener>& listener, static_cast<uint32_t>(mCore->mQueue.size()); output->nextFrameNumber = mCore->mFrameCounter + 1; output->bufferReplaced = false; - output->maxBufferCount = mCore->mMaxBufferCount; if (listener != nullptr) { // Set up a death notification so that we can disconnect |