replicant-frameworks_native/libs
Mathias Agopian 0aa758d64a Surfaces are now destroyed properly in SurfaceFlinger.
First, the window manager tells us when a surface is no longer needed. At this point, several things happen:
- the surface is removed from the active/visible list
- it is added to a purgatory list, where it waits for all clients to release their reference
- it destroys all data/state that can be spared

Later, when all clients are done, the remains of the Surface are disposed off: it is removed from the purgatory and destroyed.
In particular its gralloc buffers are destroyed at that point (when we're sure nobody is using them anymore).
2009-04-24 16:30:38 -07:00
..
audioflinger Merge donut into master 2009-04-22 17:12:34 -07:00
surfaceflinger Surfaces are now destroyed properly in SurfaceFlinger. 2009-04-24 16:30:38 -07:00
ui a brand new MessageQueue for SurfaceFlinger. 2009-04-24 16:22:36 -07:00
utils Merge commit 'goog/master' into merge_master 2009-04-24 14:24:20 -07:00