replicant-frameworks_native/libs/ui
Matt Fischer 166bcf9072 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
2010-04-07 14:27:03 -05:00
..
tests
Android.mk
Camera.cpp
CameraParameters.cpp
EGLUtils.cpp
EventHub.cpp
EventRecurrence.cpp
FramebufferNativeWindow.cpp
GraphicBuffer.cpp
GraphicBufferAllocator.cpp
GraphicBufferMapper.cpp
ICamera.cpp
ICameraClient.cpp
ICameraService.cpp
IOverlay.cpp
ISurface.cpp
ISurfaceComposer.cpp
ISurfaceFlingerClient.cpp
KeyCharacterMap.cpp
KeyLayoutMap.cpp
KeyLayoutMap.h
LayerState.cpp
MODULE_LICENSE_APACHE2
NOTICE
Overlay.cpp
PixelFormat.cpp
Rect.cpp
Region.cpp
SharedBufferStack.cpp
Surface.cpp
SurfaceComposerClient.cpp