replicant-frameworks_native/services/surfaceflinger/DisplayHardware
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
..
DisplaySurface.h Fix virtual display nesting 2014-02-04 16:46:54 -08:00
FloatRect.h fix SF buffer cropping 2013-07-10 15:08:29 -07:00
FramebufferSurface.cpp am d4dabf87: am cdbf28b3: Merge "native frameworks: 64-bit compile issues" 2014-03-13 23:12:09 +00:00
FramebufferSurface.h Fix virtual display nesting 2014-02-04 16:46:54 -08:00
HWComposer.cpp am d4dabf87: am cdbf28b3: Merge "native frameworks: 64-bit compile issues" 2014-03-13 23:12:09 +00:00
HWComposer.h Add sideband streams to BufferQueue and related classes 2014-03-11 12:23:14 -07:00
PowerHAL.cpp don't actuate vsync hint when not needed 2012-04-27 13:55:05 -07:00
PowerHAL.h don't actuate vsync hint when not needed 2012-04-27 13:55:05 -07:00
VirtualDisplaySurface.cpp BufferQueue: Add producer buffer-released callback 2014-03-31 14:10:07 -07:00
VirtualDisplaySurface.h BufferQueue: Add producer buffer-released callback 2014-03-31 14:10:07 -07:00