summaryrefslogtreecommitdiffstats
path: root/libs/gui/BufferQueueCore.cpp
diff options
context:
space:
mode:
authorDan Stoza <stoza@google.com>2015-04-24 16:33:38 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-04-24 16:33:38 +0000
commit6febf6c150b47a8e9ec7d77d988c176fe89ccbf2 (patch)
tree1e3023f12a9c209ad87a16d94b3793106c6fea15 /libs/gui/BufferQueueCore.cpp
parent7536ef4f07a3e8bfe227dbabe2298965af9d9e0e (diff)
parent5d10894c9d547449cf231f02b736da9dfdebec11 (diff)
downloadframeworks_native-6febf6c150b47a8e9ec7d77d988c176fe89ccbf2.zip
frameworks_native-6febf6c150b47a8e9ec7d77d988c176fe89ccbf2.tar.gz
frameworks_native-6febf6c150b47a8e9ec7d77d988c176fe89ccbf2.tar.bz2
am 5d10894c: am ef47c080: am 958f5011: Merge "libgui: Allow an IGBProducer to disable allocation"
* commit '5d10894c9d547449cf231f02b736da9dfdebec11': libgui: Allow an IGBProducer to disable allocation
Diffstat (limited to 'libs/gui/BufferQueueCore.cpp')
-rw-r--r--libs/gui/BufferQueueCore.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/gui/BufferQueueCore.cpp b/libs/gui/BufferQueueCore.cpp
index 29415c9..bc75ca7 100644
--- a/libs/gui/BufferQueueCore.cpp
+++ b/libs/gui/BufferQueueCore.cpp
@@ -69,7 +69,8 @@ BufferQueueCore::BufferQueueCore(const sp<IGraphicBufferAlloc>& allocator) :
mFrameCounter(0),
mTransformHint(0),
mIsAllocating(false),
- mIsAllocatingCondition()
+ mIsAllocatingCondition(),
+ mAllowAllocation(true)
{
if (allocator == NULL) {
sp<ISurfaceComposer> composer(ComposerService::getComposerService());