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 fix the threading issue for setBuffercount() 2010-05-20 18:00:42 -07:00
Android.mk more clean-up in preparation of bigger changes 2010-05-28 17:19:16 -07:00
ISurface.cpp added the notion of fixed-size buffers 2010-05-24 18:26:01 -07:00
ISurfaceComposer.cpp split surface management from surface's buffers management 2010-06-04 18:57:41 -07:00
ISurfaceComposerClient.cpp split surface management from surface's buffers management 2010-06-04 18:57:41 -07:00
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 fix [2751143] Device crashes when in a text box for too long 2010-06-08 15:40:56 -07:00