Thank you Jamie, I managed to create a transparent stage by using your
latest patch.

The effect is exactly what I need, though there is still some blending issue
in implementation, as Owen mentioned.

Also, thanks Owen and Emmanuele. I really appreciate your help.

p.s. Hope the transparent stage will also be an optional feature in
Clutter-1.0.   :)


Thanks & Best Regards,
Yuanyi
Mar 8, 2009

On Fri, Mar 6, 2009 at 10:09 PM, Jamie McCracken <
[email protected]> wrote:

> On Fri, 2009-03-06 at 12:05 +0800, Yuanyi Zhu wrote:
> > Hi Jamie,
> >
> > Thank you very much for your help.
> >
> > I have tried your patch on the stable package downloaded from
> > http://www.clutter-project.org/sources/clutter/0.9/
> >
> > The following files are successfully patched:
> > clutter/glx/clutter-stage-glx.c
> > clutter/clutter-stage.c
> > configure.ac
> >
> > But I got error messages when patching:
> > clutter/cogl/gles/cogl-context.c
> > clutter/cogl/gles/cogl.c
> > clutter/cogl/gl/cogl-context.c
> > clutter/cogl/gl/cogl.c
> >
> > I also failed when compiling clutter-0.9.0 after patch. I checked and
> > decided to negelect the patch on configure.ac. Then luckily, I
> > succeeded in compiling.
>
> Please use trunk and patch should apply cleanly against that:
>
> svn co svn.o-hand.com/repos/clutter/trunk
>
>
> >
> > During test, I still couldn't get a transparent window after setting
> > the stage color with an alpha value 0x00.
>
> see test-actors.c in my latest patch
>
> you must call clutter_x11_enable_transparent_stage() before
> clutter_init() to get a transparent stage with my latest patch
>
> >
> > I think there should be something wrong in my modification, but I
> > can't figure it out by myself.
> >
> > By the way, is nvidia graphics card essential to ClutterStage
> > transparency?
>
> AFAIK nvidia glx (the propriety driver) is the only one to fully support
> argb visuals
>
> I dont know about the others but intel and ati have open source drivers
> so hopefully glx argb support can be added there
>
> > I am using ubuntu 8.10 on a VMware virtual linux, could that also be a
> > cause to this problem?
>
> you must have a compositor running on X11 - dunno if that's possible
> with VmWare?
>
> Jamie
>
>

Reply via email to