summaryrefslogtreecommitdiffstats
path: root/include/gui/BufferItemConsumer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gui/BufferItemConsumer.h')
-rw-r--r--include/gui/BufferItemConsumer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/gui/BufferItemConsumer.h b/include/gui/BufferItemConsumer.h
index 0af6f8e..9370e81 100644
--- a/include/gui/BufferItemConsumer.h
+++ b/include/gui/BufferItemConsumer.h
@@ -51,9 +51,11 @@ class BufferItemConsumer: public ConsumerBase
// the consumer usage flags passed to the graphics allocator. The
// bufferCount parameter specifies how many buffers can be locked for user
// access at the same time.
+ // controlledByApp tells whether this consumer is controlled by the
+ // application.
BufferItemConsumer(const sp<BufferQueue>& bq, uint32_t consumerUsage,
int bufferCount = BufferQueue::MIN_UNDEQUEUED_BUFFERS,
- bool synchronousMode = false);
+ bool controlledByApp = false);
virtual ~BufferItemConsumer();