summaryrefslogtreecommitdiffstats
path: root/libs/gui/IGraphicBufferAlloc.cpp
Commit message (Collapse)AuthorAgeFilesLines
* return an error code with gralloc buffer allocation failuresMathias Agopian2011-07-011-5/+8
| | | | Change-Id: I471e5d37ea7a42fc8a0f93446ee3b4229da37807
* Fix a GraphicBuffer leak in SurfaceTextureMathias Agopian2011-04-081-17/+22
| | | | | | | | | | | | | | | | | 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
* merge libsurfaceflinger_client into libguiMathias Agopian2011-03-251-0/+108
this is the first step in unifying surfacetexture and surface. for this reason the header files were not moved, as most of them will eventually go away. NOTE: currently we keep libsurfaceflinger_client.so as an empty library to workaround prebuilt binaries wrongly linking against it. Change-Id: I130f0de2428e8579033dc41394d093f4e1431a00