Go to file
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
awt Add correct copyright headers to multiple files 2010-03-11 18:22:10 -08:00
cmds added BinderService<> template to help creating native binder services 2010-07-14 18:43:19 -07:00
include Re-use existing Surface objects when reading them from parcels. 2010-07-16 13:03:15 -07:00
libs Re-use existing Surface objects when reading them from parcels. 2010-07-16 13:03:15 -07:00
opengl Merge "Fix a bug that prevented the creation of EGL shared contexts." into gingerbread 2010-07-02 12:32:33 -07:00
services/surfaceflinger added BinderService<> template to help creating native binder services 2010-07-14 18:43:19 -07:00
vpn DO NOT MERGE 2010-03-29 18:12:24 -07:00
MODULE_LICENSE_APACHE2
NOTICE Adding PacketVideo attribution in NOTICE. 2010-05-06 14:15:47 -07:00