diff options
| author | 2017-03-09 21:53:58 +0000 | |
|---|---|---|
| committer | 2017-03-09 21:53:59 +0000 | |
| commit | 99295a2b1bce6b1031db91b60fb046d5c17fa92c (patch) | |
| tree | fdefa356f4f217b4d5ef9b1d89346987067ac7b7 /libs/gui/BufferQueue.cpp | |
| parent | 54e1e10afe4bbb4defdaa99a86b156b8e543ffc0 (diff) | |
| parent | 1da94dfed674e94edc37cdc8ef68530520edf169 (diff) | |
Merge changes from topic 'igraphicbufferallocator'
* changes:
get rid of IGraphicBufferAlloc
Remove a dependency of EGL on ui/GraphicBuffer.h
remove EGL dependency on libbinder
Diffstat (limited to 'libs/gui/BufferQueue.cpp')
| -rw-r--r-- | libs/gui/BufferQueue.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/gui/BufferQueue.cpp b/libs/gui/BufferQueue.cpp index 13692eb982..41512127f2 100644 --- a/libs/gui/BufferQueue.cpp +++ b/libs/gui/BufferQueue.cpp @@ -79,14 +79,13 @@ void BufferQueue::ProxyConsumerListener::addAndGetFrameTimestamps( void BufferQueue::createBufferQueue(sp<IGraphicBufferProducer>* outProducer, sp<IGraphicBufferConsumer>* outConsumer, - const sp<IGraphicBufferAlloc>& allocator, bool consumerIsSurfaceFlinger) { LOG_ALWAYS_FATAL_IF(outProducer == NULL, "BufferQueue: outProducer must not be NULL"); LOG_ALWAYS_FATAL_IF(outConsumer == NULL, "BufferQueue: outConsumer must not be NULL"); - sp<BufferQueueCore> core(new BufferQueueCore(allocator)); + sp<BufferQueueCore> core(new BufferQueueCore()); LOG_ALWAYS_FATAL_IF(core == NULL, "BufferQueue: failed to create BufferQueueCore"); |