On Thursday 21 October 2010 04:30:25 pm ext Zhu, Yongsheng wrote:
> > > Comparing the below two alternative coding logics:
> > >     1. If it is AppWindow, draw the AppWindow's texture
> >
> > on compositor's GL
> >
> > > window. This means mcompositor's GL window will be
> >
> > always mapped.
> >
> > >     2. If it is not AppWindow, combine it with decorator
> >
> > directly and do not touch
> >
> > > texture staff. This means mcompositor is only used for
> >
> > window animation.
> 
> The difference here is whether the app window is MTF-based. If it's an app
>  of non-MTF based, the composite overlay will be shown for animation and
>  composite decorator and app window. But if it's a MTF-based window,
>  composite overlay is only for animation from my understanding. I think
>  it's because of performance concern. Could Anyone who knows about it tell
>  us the root cause?

I don't completely get what you're trying to say here. The overlay is always 
needed whenever composition use case is triggered - whether it is needed for 
animating the windows or for using the decorator. For all other use case, each 
window should be rendering directly to the framebuffer.

-abdiel

> 
> Cheers,
> Yongsheng
> 
> > -----Original Message-----
> > From: Ohly, Patrick
> > Sent: Thursday, October 21, 2010 8:37 PM
> > To: Feng, Haitao
> > Cc: [email protected]; Zhu, Yongsheng; MeeGo Touch
> > Development
> > Subject: Re: [MeeGo-dev] Why does the mcompositor's
> > compositing functionality depend on the type of the topmost
> > window?
> >
> > Hello Haitao!
> >
> > You might have a better chance getting an answer to the
> > email below on
> > the MTF mailing list. On CC and Reply-To set.
> >
> > On Do, 2010-10-21 at 11:29 +0100, Feng, Haitao wrote:
> > > Dear mcompositor developers,
> > >
> > > Yongsheng and I have a question on mcompositor, why does
> >
> > the compositing
> >
> > > functionality depend on the type of the topmost window?
> > >
> > > The function
> >
> > MCompositeManagerPrivate::possiblyUnredirectTopmostWin
> > dow() will
> >
> > > judge whether the topmost root window isAppWindow(true),
> >
> > if it is true, it will
> >
> > > not do the compositing. Otherwise it will do the compositing
> >
> > which means it will
> >
> > > get the texture of the topmost window, combine the
> >
> > decorator texture and draw
> >
> > > them into full screen on mcompositor's GL window.
> > >
> > > Comparing the below two alternative coding logics:
> > >     1. If it is AppWindow, draw the AppWindow's texture
> >
> > on compositor's GL
> >
> > > window. This means mcompositor's GL window will be
> >
> > always mapped.
> >
> > >     2. If it is not AppWindow, combine it with decorator
> >
> > directly and do not touch
> >
> > > texture staff. This means mcompositor is only used for
> >
> > window animation.
> >
> > > Is there any special consideration on this design logic?
> > >
> > > Thanks
> > > -Haitao
> > > _______________________________________________
> > > MeeGo-dev mailing list
> > > [email protected]
> > > http://lists.meego.com/listinfo/meego-dev
> >
> > --
> > Best Regards, Patrick Ohly
> >
> > The content of this message is my personal opinion only and
> > although
> > I am an employee of Intel, the statements I make here in no
> > way
> > represent Intel's position on the issue, nor am I authorized to
> > speak
> > on behalf of Intel on this matter.
> 
> _______________________________________________
> MeeGo-dev mailing list
> [email protected]
> http://lists.meego.com/listinfo/meego-dev
> 
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev

Reply via email to