summaryrefslogtreecommitdiffstats
path: root/libs/surfaceflinger/Layer.h
Commit message (Collapse)AuthorAgeFilesLines
* second take, hopefully this time it doesn't break one of the builds: ↵Mathias Agopian2009-08-111-2/+2
| | | | "SurfaceFlinger will now allocate buffers based on the usage specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything."
* Revert "SurfaceFlinger will now allocate buffers based on the usage ↵Fred Quintana2009-08-111-2/+2
| | | | | | specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything." This reverts commit 8b76a0ac6fbf07254629ed1ea86af014d5abe050.
* SurfaceFlinger will now allocate buffers based on the usage specified by the ↵Mathias Agopian2009-08-111-2/+2
| | | | | | | clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything. This change makes SurfaceHolder.setType(GPU) obsolete (it's now ignored). Added an API to android_native_window_t to allow extending the functionality without ever breaking binary compatibility. This is used to implement the new set_usage() API. This API needs to be called by software renderers because the default is to use usage flags suitable for h/w.
* get rid of references to MemoryDealer in SurfaceFlingerMathias Agopian2009-07-021-1/+0
|
* checkpoint. bring back video/cameraMathias Agopian2009-06-231-10/+0
|
* fix a memory corruption where a SF Client could be used after it's been ↵Mathias Agopian2009-06-191-3/+3
| | | | destroyed
* Surfaces are now destroyed properly in SurfaceFlinger.Mathias Agopian2009-04-241-1/+2
| | | | | | | | | | 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).
* more Surface lifetime managementMathias Agopian2009-04-241-1/+4
| | | | | Surfaces are now destroyed once all references from the clients are gone, but they go through a partial destruction as soon as the window manager requests it. This last part is still buggy. see comments in SurfaceFlinger::destroySurface()
* Integrate from //sandbox/mathias/donut/...@145728Mathias Agopian2009-04-101-10/+38
| | | | SurfaceFlinger rework for new EGL driver model support.
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+120
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-120/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+120