diff options
author | Matt Fischer <matt.fischer@garmin.com> | 2010-02-22 17:40:46 -0600 |
---|---|---|
committer | Garmin Android technology group <android@garmin.com> | 2010-04-07 14:27:03 -0500 |
commit | d0964b3fdf546cdd00a319072353818ed8d56f08 (patch) | |
tree | 8ca8223a34b9b99e61910e7059a3185058aa04f4 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 69e398bd14fc909bb5f854c435fd210ae0974748 (diff) |
Only hold a weak pointer on SurfaceComposerClients
Each process maintains an array of active SurfaceComposerClient
objects, so that they can be reused as new surfaces are parceled
across. When a SurfaceComposerClient is disposed, it will remove
itself from this list. However, because the list maintains a strong
reference on the object, a reference cycle is created, and the
client is never deleted.
This patch changes the list to maintain weak pointers on the clients
instead.
Change-Id: I93dc8155fe28b4e350366a3400cdf22a8c77cdd3
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions