summaryrefslogtreecommitdiffstats
path: root/include/gui/BufferQueueDefs.h
diff options
context:
space:
mode:
authorDan Stoza <stoza@google.com>2014-04-09 16:14:51 -0700
committerDan Stoza <stoza@google.com>2014-04-18 11:40:14 -0700
commitfebd4f4f462444bfcb3f0618d07ac77e3fc1f6ad (patch)
tree3e3a238271875631580590219deb426441071e70 /include/gui/BufferQueueDefs.h
parent10f91bbf7db6eb999de8f7041a8c7bb0cb809799 (diff)
downloadframeworks_native-febd4f4f462444bfcb3f0618d07ac77e3fc1f6ad.zip
frameworks_native-febd4f4f462444bfcb3f0618d07ac77e3fc1f6ad.tar.gz
frameworks_native-febd4f4f462444bfcb3f0618d07ac77e3fc1f6ad.tar.bz2
BufferQueue: Increase max slots from 32 to 64
Increases NUM_BUFFER_SLOTS from 32 to 64 and changes the mask returned by IGBC::getReleasedBuffers from 32 to 64 bits. Bug: 13174352 Change-Id: Ie8ef0853916cfb91f83881c7241886bb1950f01a
Diffstat (limited to 'include/gui/BufferQueueDefs.h')
-rw-r--r--include/gui/BufferQueueDefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gui/BufferQueueDefs.h b/include/gui/BufferQueueDefs.h
index bccc881..83e9580 100644
--- a/include/gui/BufferQueueDefs.h
+++ b/include/gui/BufferQueueDefs.h
@@ -26,7 +26,7 @@ namespace android {
// BufferQueue will keep track of at most this value of buffers.
// Attempts at runtime to increase the number of buffers past this
// will fail.
- enum { NUM_BUFFER_SLOTS = 32 };
+ enum { NUM_BUFFER_SLOTS = 64 };
typedef BufferSlot SlotsType[NUM_BUFFER_SLOTS];
} // namespace BufferQueueDefs