OSDN Git Service

DO NOT MERGE ANYWHERE: BufferQueue consumers: Add discardFreeBuffer method
authorEino-Ville Talvala <etalvala@google.com>
Fri, 22 Jul 2016 00:06:58 +0000 (17:06 -0700)
committerEino-Ville Talvala <etalvala@google.com>
Fri, 9 Sep 2016 22:11:02 +0000 (15:11 -0700)
commit8211047138ea7892c73f4e6f6291a85a11759e0c
treea203d0338086a05099054f2924a3e8c945f39bb1
parent083f4ecca201e508f0f5cbe0aa95882a82abdf5e
DO NOT MERGE ANYWHERE: BufferQueue consumers: Add discardFreeBuffer method

This method releases all free buffers owned by the buffer queue,
in order to save memory (at the cost of potential future
reallocation of buffers).

Bug: 28695173
Change-Id: I458d10373e639e3144faf673af2ba01aca36e65a
include/gui/BufferQueueConsumer.h
include/gui/BufferQueueCore.h
include/gui/ConsumerBase.h
include/gui/IGraphicBufferConsumer.h
libs/gui/BufferQueueConsumer.cpp
libs/gui/BufferQueueCore.cpp
libs/gui/ConsumerBase.cpp
libs/gui/IGraphicBufferConsumer.cpp
libs/gui/tests/BufferQueue_test.cpp