replicant-frameworks_native/include/surfaceflinger
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
..
IGraphicBufferAlloc.h Fix a GraphicBuffer leak in SurfaceTexture 2011-04-08 19:28:04 -07:00
ISurface.h remove support for PUSH_BUFFER surfaces and overlays 2010-12-08 16:13:59 -08:00
ISurfaceComposer.h ANativeWindow: add queues-to-window-composer check. 2011-03-08 16:49:51 -08:00
ISurfaceComposerClient.h
Surface.h remove more unused references to ISurface 2011-04-05 20:11:55 -07:00
SurfaceComposerClient.h [3258939] Need snapshot to limit which layers are included 2010-12-10 16:22:31 -08:00