replicant-frameworks_native/libs/surfaceflinger
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
..
DisplayHardware Integrate from //sandbox/mathias/donut/...@145728 2009-04-10 14:24:30 -07:00
GPUHardware auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
purgatory Integrate from //sandbox/mathias/donut/...@145728 2009-04-10 14:24:30 -07:00
tests Integrate from //sandbox/mathias/donut/...@145728 2009-04-10 14:24:30 -07:00
Android.mk a brand new MessageQueue for SurfaceFlinger. 2009-04-24 16:22:36 -07:00
Barrier.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
BlurFilter.cpp auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
BlurFilter.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
BootAnimation.cpp more Surface lifetime management 2009-04-24 15:00:41 -07:00
BootAnimation.h more splitting of Surface/SurfaceControl. Surface.java is now implemented in terms of Surface and SurfaceControl. 2009-04-16 20:04:08 -07:00
BufferAllocator.cpp Squashed commit of the following: 2009-04-24 15:00:41 -07:00
BufferAllocator.h Integrate from //sandbox/mathias/donut/...@145728 2009-04-10 14:24:30 -07:00
clz.cpp auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
clz.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
Layer.cpp Surfaces are now destroyed properly in SurfaceFlinger. 2009-04-24 16:30:38 -07:00
Layer.h Surfaces are now destroyed properly in SurfaceFlinger. 2009-04-24 16:30:38 -07:00
LayerBase.cpp more Surface lifetime management 2009-04-24 15:00:41 -07:00
LayerBase.h Surfaces are now destroyed properly in SurfaceFlinger. 2009-04-24 16:30:38 -07:00
LayerBitmap.cpp Integrate from //sandbox/mathias/donut/...@145728 2009-04-10 14:24:30 -07:00
LayerBitmap.h more debugging tools around BufferMapper 2009-04-10 20:34:46 -07:00
LayerBlur.cpp Integrate from //sandbox/mathias/donut/...@145728 2009-04-10 14:24:30 -07:00
LayerBlur.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
LayerBuffer.cpp more Surface lifetime management 2009-04-24 15:00:41 -07:00
LayerBuffer.h more Surface lifetime management 2009-04-24 15:00:41 -07:00
LayerDim.cpp Integrate from //sandbox/mathias/donut/...@145728 2009-04-10 14:24:30 -07:00
LayerDim.h Integrate from //sandbox/mathias/donut/...@145728 2009-04-10 14:24:30 -07:00
LayerOrientationAnim.cpp Integrate from //sandbox/mathias/donut/...@145728 2009-04-10 14:24:30 -07:00
LayerOrientationAnim.h Integrate from //sandbox/mathias/donut/...@145728 2009-04-10 14:24:30 -07:00
LayerOrientationAnimRotate.cpp Integrate from //sandbox/mathias/donut/...@145728 2009-04-10 14:24:30 -07:00
LayerOrientationAnimRotate.h Integrate from //sandbox/mathias/donut/...@145728 2009-04-10 14:24:30 -07:00
MessageQueue.cpp a brand new MessageQueue for SurfaceFlinger. 2009-04-24 16:22:36 -07:00
MessageQueue.h Surfaces are now destroyed properly in SurfaceFlinger. 2009-04-24 16:30:38 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
OrientationAnimation.cpp Integrate from //sandbox/mathias/donut/...@145728 2009-04-10 14:24:30 -07:00
OrientationAnimation.h Integrate from //sandbox/mathias/donut/...@145728 2009-04-10 14:24:30 -07:00
SurfaceFlinger.cpp Surfaces are now destroyed properly in SurfaceFlinger. 2009-04-24 16:30:38 -07:00
SurfaceFlinger.h a brand new MessageQueue for SurfaceFlinger. 2009-04-24 16:22:36 -07:00
Tokenizer.cpp Integrate from //sandbox/mathias/donut/...@145728 2009-04-10 14:24:30 -07:00
Tokenizer.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
Transform.cpp AI 143309: am: CL 143160 am: CL 142856 new-new-new-new rotation animation. it may still change one more time. 2009-03-27 17:58:20 -07:00
Transform.h AI 143309: am: CL 143160 am: CL 142856 new-new-new-new rotation animation. it may still change one more time. 2009-03-27 17:58:20 -07:00
VRamHeap.cpp auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
VRamHeap.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00