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.

During test, I still couldn't get a transparent window after setting the
stage color with an alpha value 0x00.

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?
I am using ubuntu 8.10 on a VMware virtual linux, could that also be a cause
to this problem?

Below is my testing environment:
ubuntu 8.10 on virtual machine
clutter-0.9.0
using x-composite-manager: xcompmgr
Intel Q35 Express Graphics Card on host machine


Thanks a lot.

Best Regards,
Yuanyi
Mar 6, 2009

On Fri, Mar 6, 2009 at 7:45 AM, Jamie McCracken <
[email protected]> wrote:

> On Tue, 2009-03-03 at 09:50 +0800, Yuanyi Zhu wrote:
> > Hi all,
> >
> > I am trying to make a ClutterStage transparent, in other words, make
> > the background of a ClutterStage transparent. But it seems that
> > ClutterStage is a special ClutterActor and it doesn't work as
> > expected.
>
>
> I have attached a patch to
> http://bugzilla.openedhand.com/show_bug.cgi?id=412
>
> This should give you a transparent stage free of any defects if you have
> nvidia graphics by simply setting the alpha component of the stage
> colour to a value less than 255.
>
> Patch also solves the annoying blending, masking and painting issues
> that plagued previous attempts at this
>
> Patch is ready to be applied so it would be nice to get this into
> Clutter 1.0 if practical
>
> jamie
>
>

Reply via email to