replicant-frameworks_native/libs/surfaceflinger_client
Jamie Gennis aca4e22879 Re-use existing Surface objects when reading them from parcels.
This change adds a process-global cache of previously deserialized Surface
objects so that if a Surface object wrapping the same ISurface gets received
again the same Surface can be used.  This is important because the 'tail'
pointer in the SharedBufferClient is stored only on the client side, and needs
to be the same for all the Surface objects wrapping an ISurface instance.  This
solves the problem by making there only be one Surface object wrapping an
ISurface per process.

Change-Id: I4bf0b8787885c56277622fca053022d2bb638902
2010-07-16 13:03:15 -07:00
..
tests
Android.mk
ISurface.cpp
ISurfaceComposer.cpp
ISurfaceComposerClient.cpp
LayerState.cpp
SharedBufferStack.cpp allow re-targetting of surfaces 2010-06-08 20:10:02 -07:00
Surface.cpp Re-use existing Surface objects when reading them from parcels. 2010-07-16 13:03:15 -07:00
SurfaceComposerClient.cpp