summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger/Client.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SurfaceFlinger now runs in the process's main threadMathias Agopian2013-08-201-0/+1
| | | | | | | | | | it used to spawn its own thread and return the main thread to the binder thread pool -- this was confusing the naming of things in the kernel. Bug: 10331839 Change-Id: I2d13a6d73409a38109300fcbe6a04b4c41cb5d00
* get rid of ISurfaceMathias Agopian2013-03-121-12/+17
| | | | | | | | | | | | ISurface was only used to get the IGraphicBufferProducer from a Layer. It's now replaced by a BBinder subclass / IBinder and is only used as a handle to the surface, to both refer to it and manage its life-time. Also cleaned-up a bit the ISurfaceComposer interface and "create layer" code path. Change-Id: I68d0e02d57b862cffb31d5168c3bc10cea0906eb
* Get rid of LayerBase.Mathias Agopian2013-03-051-7/+6
| | | | | | | | The functionality of LayerBase and Layer is folded into Layer. There wasn't a need for this abstraction anymore. Change-Id: I66511c08cc3d89009ba4deabf47e26cd4cfeaefb
* fold LayerBaseClient into LayerBaseMathias Agopian2013-03-051-6/+6
| | | | Change-Id: Ic745136522df59c42f0885fd969e75ea55d09f01
* get rid of Surface identity and tokenMathias Agopian2013-02-131-17/+12
| | | | | | we use the IBinder instead. Change-Id: I4aa0b58869ba43f19980013620051e5a261b062d
* Eradicate DisplayID.Mathias Agopian2012-08-271-2/+1
| | | | | | | | DisplayDevices are now keyed of the wp<IBinder> the client uses. DisplayID has now become DisplayType which is just used to identify physical displays (as opposed to virtual displays such as wifi displays). Change-Id: I0c5968f2c902dcd699a7e0afacf833ff070c12ea
* Banish DisplayID from the SurfaceFlinger API.Jeff Brown2012-08-271-6/+6
| | | | | | | | | | | | | | | Use only display tokens in the API to refer to new displays. Don't require the caller to specify the display when creating a surface (since in general a surface could be shown on any display). This is intended to be a minimum change just to update the API. Note that SurfaceFlinger still uses DisplayID in a few places internally that might cause some features not to work properly when there are multiple displays (LayerScreenshot, for example). Change-Id: I3d91eec2da406eefd97bcd53655d403ad865a7e6
* SurfaceFlinger cleanupMathias Agopian2012-07-241-6/+7
| | | | | | | mostly refactored SurfaceFlinger.h, but also removed dead code. cleaned-up a few includes as well. Change-Id: Ib15f4ffe567912b61ee98aa076c6a283b72811b5
* split-up Client.h out of SurfaceFlinger.hMathias Agopian2012-06-181-0/+159
Change-Id: I1993bf23e417163749d886283563a93d50b361b4