replicant-frameworks_native/libs/surfaceflinger_client
Mathias Agopian a0c30e9241 optimize Surface.readFromParcel()
this is called for each relayout() and used to create a full Surface (cpp)
which in turn did some heavy work (including an IPC with surfaceflinger),
most of the time to destroy it immediatelly when the returned surface
(the one in the parcel) was the same.

we now more intelligentely read from the parcel and construct the new
object only if needed.

Change-Id: Idfd40d9ac96ffc6d4ae5fd99bcc0773e131e2267
2010-06-04 18:57:41 -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 Remove a dependency of Region (libui) on Parcel (libbinder). 2010-02-17 20:26:47 -08:00
SharedBufferStack.cpp split surface management from surface's buffers management 2010-06-04 18:57:41 -07:00
Surface.cpp optimize Surface.readFromParcel() 2010-06-04 18:57:41 -07:00
SurfaceComposerClient.cpp split surface management from surface's buffers management 2010-06-04 18:57:41 -07:00