replicant-frameworks_native/include/surfaceflinger
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
..
ISurface.h more clean-up in preparation of bigger changes 2010-05-28 17:19:16 -07:00
ISurfaceComposer.h split surface management from surface's buffers management 2010-06-04 18:57:41 -07:00
ISurfaceComposerClient.h split surface management from surface's buffers management 2010-06-04 18:57:41 -07:00
Surface.h Re-use existing Surface objects when reading them from parcels. 2010-07-16 13:03:15 -07:00
SurfaceComposerClient.h split surface management from surface's buffers management 2010-06-04 18:57:41 -07:00