summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Foss <robert.foss@collabora.com>2017-07-27 17:11:10 +0200
committerRobert Foss <robert.foss@collabora.com>2017-07-27 17:11:10 +0200
commit5db9caad5c26b43d1632cbeb3ea0609e4fdb2899 (patch)
tree6621721762b78abf0c67bbf8b4e906dcd9d98fdb
parent541b1ebe0955ef40693b0746be2cd4f527feb7c2 (diff)
downloadandroid-frameworks-native-android-etnaviv.tar.gz
android-frameworks-native-android-etnaviv.tar.xz
HACK: BufferQueueCore: Increase number of buffers usedHEADandroid-etnaviv
Signed-off-by: Robert Foss <robert.foss@collabora.com>
-rw-r--r--libs/gui/BufferQueueCore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/gui/BufferQueueCore.cpp b/libs/gui/BufferQueueCore.cpp
index 4f6ecff..31b9f8d 100644
--- a/libs/gui/BufferQueueCore.cpp
+++ b/libs/gui/BufferQueueCore.cpp
@@ -74,7 +74,7 @@ BufferQueueCore::BufferQueueCore(const sp<IGraphicBufferAlloc>& allocator) :
mDefaultBufferDataSpace(HAL_DATASPACE_UNKNOWN),
mMaxBufferCount(BufferQueueDefs::NUM_BUFFER_SLOTS),
mMaxAcquiredBufferCount(1),
- mMaxDequeuedBufferCount(1),
+ mMaxDequeuedBufferCount(3),
mBufferHasBeenQueued(false),
mFrameCounter(0),
mTransformHint(0),