OSDN Git Service

more clean-up of Surfaceflinger's client management
authorMathias Agopian <mathias@google.com>
Fri, 28 May 2010 02:41:15 +0000 (19:41 -0700)
committerMathias Agopian <mathias@google.com>
Fri, 28 May 2010 02:55:43 +0000 (19:55 -0700)
commitd4784a3b90f849e8732968d45886fb0c8f0d8cf3
treee061fb5abddada8e155df197d1dd21878f3c00c0
parent9aaa3661ee28365204ce71e9a0ab7dd753d6fee7
more clean-up of Surfaceflinger's client management

SurfaceComposerClient now only exist on the WindowManager side,
the client side uses the new SurfaceClient class, which only
exposes what a client needs.

also instead of keeping mappings from IBinder to SurfaceComposerClients
we have a SurfaceClient per Surface (referring to the same IBinder), this
is made possible by the fact that SurfaceClient is very light.

Change-Id: I6a1f7015424f07871632a25ed6a502c55abfcfa6
include/surfaceflinger/Surface.h
include/surfaceflinger/SurfaceComposerClient.h
libs/surfaceflinger_client/Surface.cpp
libs/surfaceflinger_client/SurfaceComposerClient.cpp