summaryrefslogtreecommitdiff
path: root/libs/gui/include/gui/BufferQueueCore.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/gui/include/gui/BufferQueueCore.h')
-rw-r--r--libs/gui/include/gui/BufferQueueCore.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/gui/include/gui/BufferQueueCore.h b/libs/gui/include/gui/BufferQueueCore.h
index 557c28b1b7..8d0828d88e 100644
--- a/libs/gui/include/gui/BufferQueueCore.h
+++ b/libs/gui/include/gui/BufferQueueCore.h
@@ -354,6 +354,9 @@ private:
// mTransformHintInUse is to cache the mTransformHint used by the producer.
uint32_t mTransformHintInUse;
+ // This allows the consumer to acquire an additional buffer if that buffer is not droppable and
+ // will eventually be released or acquired by the consumer.
+ bool mAllowExtraAcquire = false;
}; // class BufferQueueCore
} // namespace android