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 Update ANativeWindow clients for sync 2012-06-20 15:48:30 -07:00
Android.mk surfaceflinger: refactor FrambufferSurface 2012-08-06 18:55:01 -07:00
BitTube.cpp return errors properly in BitTube and SensorEventQueue 2012-05-07 18:22:16 -07:00
BufferQueue.cpp surfaceflinger: refactor FrambufferSurface 2012-08-06 18:55:01 -07:00
ConsumerBase.cpp surfaceflinger: refactor FrambufferSurface 2012-08-06 18:55:01 -07:00
CpuConsumer.cpp Return fence from acquireBuffer 2012-06-30 21:38:51 -07:00
DisplayEventReceiver.cpp use a socketpair instead of a pipe in BitTube 2012-04-02 18:41:10 -07:00
DummyConsumer.cpp Refactored DummyConsumer 2012-03-27 16:47:12 -07:00
IDisplayEventConnection.cpp Improve the VSYNC api a bit. 2011-12-06 22:43:10 -08:00
IGraphicBufferAlloc.cpp fix libgui header location 2012-02-27 13:03:08 -08:00
ISensorEventConnection.cpp Rename SensorChannel to BitTube 2011-10-20 18:42:02 -07:00
ISensorServer.cpp improve [un]marshalling of non-binder objects 2012-08-13 02:46:05 -07:00
ISurface.cpp fix libgui header location 2012-02-27 13:03:08 -08:00
ISurfaceComposer.cpp make multi-display more real 2012-08-10 17:32:33 -07:00
ISurfaceComposerClient.cpp fix libgui header location 2012-02-27 13:03:08 -08:00
ISurfaceTexture.cpp Pass fences with buffers from SurfaceTextureClient 2012-06-30 21:38:51 -07:00
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 return errors properly in BitTube and SensorEventQueue 2012-05-07 18:22:16 -07:00
SensorManager.cpp Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE 2012-01-08 13:19:13 +00:00
Surface.cpp Remove freeze(), unfreeze() and setFreezeTint(). 2012-07-16 15:38:18 -07:00
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 Pass fences with buffers from SurfaceTextureClient 2012-06-30 21:38:51 -07:00