Closed
Bug 1253937
Opened 8 years ago
Closed 8 years ago
color-burn rendering is wrong with CompositorOGL
Categories
(Core :: Graphics: Layers, defect)
Core
Graphics: Layers
Tracking
()
RESOLVED
INVALID
Tracking | Status | |
---|---|---|
firefox47 | --- | affected |
People
(Reporter: mstange, Unassigned)
References
Details
(Keywords: regression)
Attachments
(3 files)
The mix-blend-mode testcase should match the reference. On OS X it does not.
Reporter | ||
Comment 1•8 years ago
|
||
Reporter | ||
Comment 2•8 years ago
|
||
Reporter | ||
Updated•8 years ago
|
Attachment #8727174 -
Attachment description: testcase with backgroud-blend-mode: color-burn → testcase with background-blend-mode: color-burn
Reporter | ||
Comment 3•8 years ago
|
||
So for R and G we have Cs = 0, Cb = 0.5, alpha_s = 0.5, alpha_b = 1.0. The expected result after the final compositing step is 0. I don't really see how this is supposed work since the final compositing step is using OVER on a 0.5 backdrop, using the original source alpha value of 0.5. In order to overwrite 0.5 with 0 you'd have to use an alpha value of 1.
Reporter | ||
Comment 4•8 years ago
|
||
Huh. This bug might be invalid. I got the reference by looking at the rendering of Release Firefox on OS X and of Safari. Both are using CoreGraphics. And now I think they're wrong. Firefox with the Skia content backend agrees with our new rendering. And unsurprisingly, so does Chrome. Rik, do you know anything about CG's discrepancy with respect to color-burn?
Flags: needinfo?(cabanier)
Reporter | ||
Comment 5•8 years ago
|
||
And here's a tweet complaining about differences in color-burn rendering on iOS between CoreGraphics and CoreImage: https://twitter.com/tinrocket/status/297885629495246848
Reporter | ||
Comment 6•8 years ago
|
||
Yup, just a CG bug. They are ignoring the alpha component of the source and treating the source as opaque. I'll file a bug with Apple.
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(cabanier)
Resolution: --- → INVALID
Comment 7•8 years ago
|
||
Yes, we've logged the same bug with Apple several times. They are aware of the issue but for some reason they can't/won't fix it.
Reporter | ||
Comment 8•8 years ago
|
||
Thanks Rik. Are you aware of any other blend modes that are buggy in CG or is it just color-burn?
Comment 9•8 years ago
|
||
Yes, I believe color-dodge has some glitches as well. However, it only happens in the CA layer. CG is fine.
You need to log in
before you can comment on or make changes to this bug.
Description
•