replicant-frameworks_native/include
Jamie Gennis fa5b40ebb8 libgui: add BQ consumer buffer free notifications
This change adds a new callback for BufferQueue consumers to be notified
when the BufferQueue frees some or all of its buffers.  This is needed
to retain SurfaceTexture behavior where all buffers would be freed when
the producer disconnects.  This change also modifies the
SurfaceTextureGLToGLTest.EglDestroySurfaceUnrefsBuffers test to catch
when the buffers are not freed.

The implementation is a little complicated because it needs to avoid
circular sp<> references across what will be a binder interface (so wp<>
can't be used directly).  It also needs to avoid the possibility of
locking the BufferQueue and consumer (e.g. SurfaceTexture) mutexes in
the wrong order.

This change also includes a few additional fixes and test cleanups.

Change-Id: I27b77d0af15cb4b135f4b63573f634f5f0da2182
2012-03-19 15:09:09 -07:00
..
binder get rid of MemoryHeapPmem 2012-02-27 19:58:57 -08:00
gui libgui: add BQ consumer buffer free notifications 2012-03-19 15:09:09 -07:00
media Copy one more file to /frameworks/native 2012-03-12 18:55:13 -07:00
private fix libgui header location 2012-02-27 13:03:08 -08:00
ui remove dependency on android_native{s_priv|buffer}.h 2012-02-24 18:26:01 -08:00
utils Expose the set of enabled tags. 2012-03-09 15:43:12 -08:00