replicant-frameworks_native/include
Mathias Agopian 4cb18881b5 Fix a GraphicBuffer leak in SurfaceTexture
This leak was intentional, it was there to deal with the fact that
some gralloc implementations don't track buffer handles with
file-descriptors so buffers needed to stay alive until there were
registered, which is not guaranteed by binder transactions.

In this new implementation, we use a small BBinder holding a
reference to the buffer, which with tuck into the parcel. This forces
the reference to stay alive until the parcel is destroyed, which
is guaranteed (by construction) to happen after the buffer is
registered.

this allows the public facing API to not expose the previous hack.

Change-Id: I1dd6cd83679a2b7457ad628169e2851acc027143
2011-04-08 19:28:04 -07:00
..
binder Binder linkage no longer depends on JNI objrefs as persistent tokens 2011-02-28 11:37:20 -08:00
gui Fix a GraphicBuffer leak in SurfaceTexture 2011-04-08 19:28:04 -07:00
pim auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
private Add support for up to 32 buffers per Surface 2011-03-01 14:09:06 -08:00
surfaceflinger Fix a GraphicBuffer leak in SurfaceTexture 2011-04-08 19:28:04 -07:00
tts Update TTS plugin interface to receive engine configuration data 2010-03-18 11:52:41 -07:00
ui Merge "Add a little input event consistency verifier." 2011-04-01 12:56:35 -07:00
utils Add new resource configurations for screen width/height in "dp". 2011-04-06 11:00:37 -07:00