replicant-frameworks_native/services
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
..
batteryservice batteryservice: Native client read exception returned from getProperty 2014-03-21 19:22:37 +00:00
connectivitymanager Add C++ library for ConnectivityManager 2013-07-16 15:11:47 -07:00
inputflinger Cherry pick parts of f5df700e6ce. 2014-03-27 14:27:42 +00:00
powermanager Native counterpart of new power manager method 2013-10-25 12:50:04 -07:00
sensorservice am d4dabf87: am cdbf28b3: Merge "native frameworks: 64-bit compile issues" 2014-03-13 23:12:09 +00:00
surfaceflinger BufferQueue: Add producer buffer-released callback 2014-03-31 14:10:07 -07:00