summaryrefslogtreecommitdiff
path: root/include/gui/BufferQueue.h
diff options
context:
space:
mode:
author Dan Stoza <stoza@google.com> 2016-01-08 09:36:21 -0800
committer Dan Stoza <stoza@google.com> 2016-01-08 09:36:21 -0800
commitacd56150573d3a6d449c0de01f93c6f269d121e3 (patch)
tree40927c2493c48e8745e8aa5a571e87842fbdcb11 /include/gui/BufferQueue.h
parent3bb0c8810fb461a64f04bce81f32ca1994fde9b5 (diff)
libgui: Remove custom BufferQueue allocators
Removes the ability to set a custom GraphicBuffer allocator for a BufferQueue. Custom-allocated buffers may still be used through the attachBuffer call. Change-Id: I127bdfb496fc089a61c7e266c8bd2b906d41f32e
Diffstat (limited to 'include/gui/BufferQueue.h')
-rw-r--r--include/gui/BufferQueue.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/gui/BufferQueue.h b/include/gui/BufferQueue.h
index 09300a20c9..c48ffb4eb2 100644
--- a/include/gui/BufferQueue.h
+++ b/include/gui/BufferQueue.h
@@ -76,8 +76,7 @@ public:
// producers and consumers. allocator is used to allocate all the
// needed gralloc buffers.
static void createBufferQueue(sp<IGraphicBufferProducer>* outProducer,
- sp<IGraphicBufferConsumer>* outConsumer,
- const sp<IGraphicBufferAlloc>& allocator = NULL);
+ sp<IGraphicBufferConsumer>* outConsumer);
private:
BufferQueue(); // Create through createBufferQueue