[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Public WebGL] Weird alpha issue.
- To: Steve Baker <firstname.lastname@example.org>
- Subject: Re: [Public WebGL] Weird alpha issue.
- From: "Mo, Zhenyao" <email@example.com>
- Date: Mon, 1 Nov 2010 09:55:13 -0700
- Cc: Benoit Jacob <firstname.lastname@example.org>, public webgl <email@example.com>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=M/wvV2aQs3sw5AFdmLOe/R+EBhWvDtJ2KKLQVmUM5gA=; b=iirDlcVJa1mdbIxqWIu2XwsVbI+/POGUCL0G9H11gMTv8qntjVRtor07+gQoKf/tX5 QcgQOSZFnAPSM9xcAQkdeu4Vtzcqm1Yy5e2CloHGcroWf9fmPUC2oVhTNgYSCPye+JHz fphZoHtmGG8onvDFMFkXGdr+Qm+PDeu5ggMYc=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=s/lmkC2DR0zRhShCSD9tEgpGOBTeq2P4K391SvGQ+eOmQoP613AVTEnCrnTiweeGiP 2z9lbbe6kJi1iR4bM2PsHsGuEXiMbGbpHuk6pzCngHliYgOms8R6JVKGFjV2oVQAStjz uZ/sUSso6S0S/Ubgjrk0YcETULvlI+AF40KCc=
- In-reply-to: <4CCDD960.firstname.lastname@example.org>
- References: <1891782920.235028.1288551072750.JavaMail.email@example.com> <4CCDD960.firstname.lastname@example.org>
- Sender: email@example.com
I tried your test case with top-of-tree Chrome on Mac and Windows.
Both do not have the background leaking issue you saw here. Can you
try the same build and confirm?
For the Windows build, you need to pass in --use-gl=desktop flag.
Apparently there is a bug in ANGLE, so without the flag you won't see
the WebGL canvas at all - at least that's the case on my machine.
On Sun, Oct 31, 2010 at 2:02 PM, Steve Baker <firstname.lastname@example.org> wrote:
> OK - I finally have a reasonably simple test case at:
> ...I apologize if some of the code doesn't look exactly pretty - it's
> been brutally ripped out of a 5000 line application. The checkerboard
> background helps you see the blending issues clearly - but it's a bit
> hard on the eyes!
> We should see a dark brown canvas on a checkerboard background - with a
> chair and a grey translucent 'smoke puff' slicing through it.
> * The only setup that I've found seems to display it "correctly" (ie
> without dest-alpha) is Chrome under Linux/64bit...but I don't have a Mac
> to test on so we'll give Safari the benefit of the doubt right now.
> * Minefield lets the background 'leak' through the image (presumably
> because we can't shut off destination-alpha because of bug 539771.
> (That's a **REALLY** serious bug!)
> * Chrome under Windows7/32bit also lets the background leak through -
> but does a weird compositing job.
> * None of the browsers are getting the alpha=0 thing right.
> * If you remove the "alpha:false" from the getContext call - you can
> also see that Chrome and Minefield composite the resulting dest-alpha
> canvas differently.
>> If you go to about:config and set
>> Does that make a difference?
> No...no difference at all.
>> If yes, you have found a bug in our accelerated compositing code.
>> If no, we can't conclude anything.
> Oh. :-(
> -- Steve
> You are currently subscribed to email@example.com.
> To unsubscribe, send an email to firstname.lastname@example.org with
> the following command in the body of your email:
You are currently subscribed to email@example.com.
To unsubscribe, send an email to firstname.lastname@example.org with
the following command in the body of your email: