replicant-frameworks_native/libs/gui
Dan Stoza f0eaf25e92 BufferQueue: Add producer buffer-released callback
Add a callback to the producer side, onBufferReleased, which will be
called every time the consumer releases a buffer back to the
BufferQueue. This will enable a buffer stream splitter to work
autonomously without having to block on dequeueBuffer.

The binder object used for the callback replaces the generic IBinder
token that was passed into IGraphicBufferProducer::connect to detect
the death of the producer. If a producer does not wish to listen for
buffer release events, it can pass in an instance of the
DummyProducerListener class defined in IProducerListener.h, if it even
cares about death events (BufferQueue doesn't enforce the token being
non-NULL, though perhaps we should).

Change-Id: I23935760673524abeafea2b58dccc3583b368710
2014-03-31 14:10:07 -07:00
..
tests BufferQueue: Add producer buffer-released callback 2014-03-31 14:10:07 -07:00
Android.mk BufferQueue: Add producer buffer-released callback 2014-03-31 14:10:07 -07:00
BitTube.cpp fix a few problems with BitTube 2013-09-10 21:10:53 -07:00
BufferItem.cpp Change BufferQueue into producer/consumer wrapper 2014-03-04 15:58:03 -08:00
BufferItemConsumer.cpp BufferItemConsumer: Use IGBC instead of BQ 2014-03-13 11:12:04 -07:00
BufferQueue.cpp BufferQueue: Add producer buffer-released callback 2014-03-31 14:10:07 -07:00
BufferQueueConsumer.cpp Merge "Add sideband streams to BufferQueue and related classes" 2014-03-13 20:28:17 +00:00
BufferQueueCore.cpp BufferQueue: Add producer buffer-released callback 2014-03-31 14:10:07 -07:00
BufferQueueProducer.cpp BufferQueue: Add producer buffer-released callback 2014-03-31 14:10:07 -07:00
BufferSlot.cpp Change BufferQueue into producer/consumer wrapper 2014-03-04 15:58:03 -08:00
CleanSpec.mk
ConsumerBase.cpp Add sideband streams to BufferQueue and related classes 2014-03-11 12:23:14 -07:00
CpuConsumer.cpp gui: CpuConsumer::lockNextBuffer change return code when too many bufs acquired 2013-08-14 20:17:17 -07:00
DisplayEventReceiver.cpp
GLConsumer.cpp GLConsumer: start using EGL_ANDROID_image_crop 2013-10-02 17:34:35 +00:00
GraphicBufferAlloc.cpp
GuiConfig.cpp
IConsumerListener.cpp Add sideband streams to BufferQueue and related classes 2014-03-11 12:23:14 -07:00
IDisplayEventConnection.cpp
IGraphicBufferAlloc.cpp
IGraphicBufferConsumer.cpp BufferQueue: Test remote producer and consumer 2014-03-21 11:16:54 -07:00
IGraphicBufferProducer.cpp BufferQueue: Add producer buffer-released callback 2014-03-31 14:10:07 -07:00
IProducerListener.cpp BufferQueue: Add producer buffer-released callback 2014-03-31 14:10:07 -07:00
ISensorEventConnection.cpp Change API from flush(handle) to flush(). Call flush on all active sensors in the given SensorEventConnection. 2013-10-09 17:26:01 -07:00
ISensorServer.cpp
ISurfaceComposer.cpp Allow disabling layer rotation during screenshots 2014-02-14 23:10:42 +00:00
ISurfaceComposerClient.cpp
LayerState.cpp
Sensor.cpp Sensor batching. Changes to the native code. 2013-09-03 17:04:36 -07:00
SensorEventQueue.cpp Change API from flush(handle) to flush(). Call flush on all active sensors in the given SensorEventConnection. 2013-10-09 17:26:01 -07:00
SensorManager.cpp
Surface.cpp BufferQueue: Add producer buffer-released callback 2014-03-31 14:10:07 -07:00
SurfaceComposerClient.cpp Remove deprecated BufferQueue constructor 2014-03-13 11:39:09 -07:00
SurfaceControl.cpp Merge "Remove unnecessary include." 2013-09-19 23:16:10 +00:00
SyncFeatures.cpp