oh Thanks.
I have tried it .
It is OK
On Jan 15, 4:37 pm, Freepine <[email protected]> wrote:
> Hi, as Dave said, you can set a property to disable system_server from
> launching surface flinger.Then the surfaceflinger program you mentioned can
> be launched manually for debug purpose.
>
> On Thu, Jan 15, 2009 at 2:47 PM, hanchao3c <[email protected]> wrote:
>
> > Do you know what is the usage of frameworks/base/cmds/
> > surfaceflinger/ ?
> > It seems no such daemon launch in my system.
>
> > On Jan 15, 2:21 pm, Dave Sparks <[email protected]> wrote:
> > > Thanks, I forgot about that.
>
> > > For debugging, you can set a system property so that system_server
> > > does not launch SurfaceFlinger. This allows you to launch with gdb and
> > > debug the SurfaceFlinger startup.
>
> > > On Jan 14, 9:49 pm, Freepine <[email protected]> wrote:
>
> > > > Yes, it seems surfaceflinger is spawned by system_server process by
> > default.
> > > > You can type ps -t -s in emulator to verify it.But I guess it might
> > also be
> > > > ok to initiate the surface flinger process directly in zygote if
> > someone
> > > > desires. There is an binary executable of surfaceflinger under
> > /system/bin.
>
> > > > On Thu, Jan 15, 2009 at 10:04 AM, hanchao3c <[email protected]>
> > wrote:
>
> > > > > Hi jasperr and Sparks.
>
> > > > > Do you know these file ?
> > > > > base/cmds/system_server/system_main.cpp
> > > > > base/cmds/system_server/library/system_init.cpp :: system_init()
>
> > > > > It seems SurfaceFlinger is generated by system_server .
> > > > > There is no a daemon called "surfaceflinger"
>
> > > > > On Jan 9, 11:18 am, Dave Sparks <[email protected]> wrote:
> > > > > > frameworks/base/cmds/surfaceflinger/main_surfaceflinger.cpp
>
> > > > > > On Jan 7, 10:26 pm, jasperr <[email protected]> wrote:
>
> > > > > > > Is SurfaceFlinger a service like AudioFlinger, right?
>
> > > > > > > If yes, where is SurfaceFlinger service is generated?
>
> > > > > > > I saw the audioflinger service is generated in the main() of
> > > > > > > mediaserver by calling IServiceManger::addService().
>
> > > > > > > But who knows where is surfacefligner service generated?
>
> > > > > > > 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
-~----------~----~----~----~------~----~------~--~---