Go to file
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
cmds Add keychain user with special keystore access permissions 2011-04-08 14:06:39 -07:00
include Fix a GraphicBuffer leak in SurfaceTexture 2011-04-08 19:28:04 -07:00
libs Fix a GraphicBuffer leak in SurfaceTexture 2011-04-08 19:28:04 -07:00
opengl Initialize reference counter for egl_display_t 2011-03-31 16:52:02 -07:00
services/surfaceflinger Fix a GraphicBuffer leak in SurfaceTexture 2011-04-08 19:28:04 -07:00
vpn Make VpnService synchronous API. 2011-01-20 12:51:43 +08:00
GenerationCache.h Add TextLayout Cache 2011-03-02 13:29:20 -08:00
MODULE_LICENSE_APACHE2
NOTICE resolved conflicts for merge of adee6b35 to honeycomb-plus-aosp 2011-01-17 14:17:12 -08:00