replicant-frameworks_native/libs/gui
Mathias Agopian 8683fca395 improve [un]marshalling of non-binder objects
this change introduces a new class LightFlattenable<> which is
a protocol to flatten simple objects that don't require
binders or file descriptors; the benefit of this protocol is that
it doesn't require the objects to have a virtual table and give us
a consitant way of doing this.

we also introduce an implementation of this protocol for
POD structures, LightFlattenablePod<>.

Parcel has been update to handle this protocol automatically.

Sensor, Rect, Point and Region now use this new protocol.

Change-Id: Icb3ce7fa1d785249eb666f39c2129f2fc143ea4a
2012-08-13 02:46:05 -07:00
..
tests
Android.mk
BitTube.cpp
BufferQueue.cpp
ConsumerBase.cpp
CpuConsumer.cpp
DisplayEventReceiver.cpp
DummyConsumer.cpp
IDisplayEventConnection.cpp
IGraphicBufferAlloc.cpp
ISensorEventConnection.cpp
ISensorServer.cpp improve [un]marshalling of non-binder objects 2012-08-13 02:46:05 -07:00
ISurface.cpp
ISurfaceComposer.cpp make multi-display more real 2012-08-10 17:32:33 -07:00
ISurfaceComposerClient.cpp
ISurfaceTexture.cpp
LayerState.cpp improve [un]marshalling of non-binder objects 2012-08-13 02:46:05 -07:00
Sensor.cpp improve [un]marshalling of non-binder objects 2012-08-13 02:46:05 -07:00
SensorEventQueue.cpp
SensorManager.cpp
Surface.cpp
SurfaceComposerClient.cpp make multi-display more real 2012-08-10 17:32:33 -07:00
SurfaceTexture.cpp SurfaceTexture: Fix a fence fd leak. 2012-08-08 15:39:55 -07:00
SurfaceTextureClient.cpp