frameworks/base/include/ui/Surface.h
defines
class Surface : public RefBase


frameworks/base/libs/surfaceflinger/LayerBase.h
class Surface : public BnSurface

In face the file in surfaceflinger is implementation of ISurface .

frameworks/base/include/ui/Surface.h  define Surface , it is a
container of ISurface

On Jan 8, 5:02 pm, jasperr <[email protected]> wrote:
> Sorry, a stupid question:
>
> I saw two "Surface" class definitions in Android source code.
>
> One is in "Surface.h":
> class Surface : public RefBase
> ...
>
> The other is in "LayerBase.h", within definition of "LayerBaseClient":
> class Surface : public BnSurface
>
> Could anyone explain the difference and their purpose?
>
> Thanks
> Jasperr
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to