New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 859822 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
OOO until 2019-01-24
Closed: Jul 5
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug

Blocked on:
issue 599285

Blocking:
issue 663061



Sign in to add a comment

premultipliedAlpha context creation attribute not being handled correctly

Reported by natalia....@gmail.com, Jul 3

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Steps to reproduce the problem:
Reduced case can be found here https://jsfiddle.net/n68Lkg3m/

What is the expected behavior?

What went wrong?
Unfortunately I've got different result for the test https://jsfiddle.net/greggman/tcf0fnzo/ working on different browsers:
 - Canary (69.0.3475.0) and Firefox(61.0) shows brown left quad
 - but Chome(67.0.3396.87) draws it with dark green color. 
The result is the same, when premultipliedAlpha=true on context creation, but for turned off premultipliedAlpha somthing goes wrong.

I've attached "about:gpu" as a html file.

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 67.0.3396.87  Channel: n/a
OS Version: 10.0
Flash Version:
 
aboutgpu.html
172 KB View Download
Blockedon: 599285
Components: Blink>WebGL
Labels: -OS-Windows
Status: Untriaged (was: Unconfirmed)
The difference between Chrome 67 and 69 reproduces for me on Linux(/NVIDIA) as well.

That said, if 67 is wrong and 69 is correct, something must have fixed this recently?
Yes, you're right. But, unfortunately I don't know when something that fixes the problem migrates from Canary to Chrome.
I hope the issue attracts more attention to the situation.

https://www.chromestatus.com/features/schedule

Chrome 69 is scheduled for Sep 4.

If the fix is in Chrome 68 (beta channel), you'll get it around Jul 24.
Cc: dpranke@chromium.org
Components: Internals>Compositing Infra>Client>Chrome
Labels: OS-Linux
Owner: kbr@chromium.org
Status: WontFix (was: Untriaged)
An automated pixel test was added for WebGL's premultipliedAlpha:false support in  Issue 599285 , and looking back through the log for https://cs.chromium.org/chromium/src/content/test/gpu/gpu_tests/pixel_expectations.py I don't see any suppressions being added or removed.

http://omahaproxy.appspot.com/ says that M67 was branched at r550428. Testing the two public builds around that branch point:

https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html?prefix=Linux_x64/550422/
https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html?prefix=Linux_x64/550430/

both run the test correctly.

The most likely cause, unfortunately, is that a merge-back of a bug fix to M67 broke this behavior. Also unfortunately, there aren't trybots for the official builds yet, although a lot of progress has been made in this area in Issue 663061 and related bugs. Once there are, then merge-backs should be able to go through the commit queue, and breakage of functionality like this should be avoided. Linking to Issue 663061 to make it clear that such trybots will prevent regressions like this one.

Apologies for this breakage, but on our team right now there is nothing we can do. If you can please test Chrome's early access builds (beta, dev) and file bugs early, we can catch issues like this before they reach Chrome Stable.

Blocking: 663061

Sign in to add a comment