Hello,

As I read in your bug report :
"Because argb transparency is absolute, enabling ARGB stage will affect relative
transparency of clutter actors that overlap on each other if they use alpha."

In other words, if I create transparent stage, all actors using alpha
(major actors have alpha to build eyes-candy application) will be
transparent too.

My main goal is to create a transparent hole on background stage, and
actors could not be affected by transparency.

Regards,

Stephane

2009/3/6 Yuanyi Zhu <[email protected]>:
> 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
>>
>
>
--
To unsubscribe send a mail to [email protected]

Reply via email to