OSDN Git Service

get rid of ISurface
authorMathias Agopian <mathias@google.com>
Wed, 13 Mar 2013 00:11:48 +0000 (17:11 -0700)
committerMathias Agopian <mathias@google.com>
Wed, 13 Mar 2013 00:11:48 +0000 (17:11 -0700)
commit4d9b822e2c18142e55fe2611aa6cd7dc7d4a62c6
treeefde8891af25d54a8211ee4280733046f4417c25
parentf44e9f91f37d3fbed64bc952f241d5dc3c385b6a
get rid of ISurface

ISurface was only used to get the IGraphicBufferProducer from
a Layer. It's now replaced by a BBinder subclass / IBinder and
is only used as a handle to the surface, to both refer to it
and manage its life-time.

Also cleaned-up a bit the ISurfaceComposer interface and
"create layer" code path.

Change-Id: I68d0e02d57b862cffb31d5168c3bc10cea0906eb
17 files changed:
include/gui/ISurface.h [deleted file]
include/gui/ISurfaceComposerClient.h
include/gui/SurfaceControl.h
include/private/gui/LayerState.h
libs/gui/Android.mk
libs/gui/ISurface.cpp [deleted file]
libs/gui/ISurfaceComposerClient.cpp
libs/gui/SurfaceComposerClient.cpp
libs/gui/SurfaceControl.cpp
services/surfaceflinger/Client.cpp
services/surfaceflinger/Client.h
services/surfaceflinger/Layer.cpp
services/surfaceflinger/Layer.h
services/surfaceflinger/LayerDim.cpp
services/surfaceflinger/LayerDim.h
services/surfaceflinger/SurfaceFlinger.cpp
services/surfaceflinger/SurfaceFlinger.h