Go to file
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
build Add Dalvik heap definition for 7" xhdpi devices. 2013-05-06 15:06:20 -07:00
cmds am 4b3d6e31: am 3ebb877e: Merge "Modify installd\'s restorecon function." 2014-03-31 20:26:29 +00:00
data/etc Add device admin to wearables for API8 Compat 2014-03-17 12:19:18 -07:00
include BufferQueue: Add producer buffer-released callback 2014-03-31 14:10:07 -07:00
libs BufferQueue: Add producer buffer-released callback 2014-03-31 14:10:07 -07:00
opengl Request RGBX rather than RGBA 2014-03-25 14:59:26 -07:00
services BufferQueue: Add producer buffer-released callback 2014-03-31 14:10:07 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
NOTICE resolved conflicts for merge of adee6b35 to honeycomb-plus-aosp 2011-01-17 14:17:12 -08:00