SWGL crash in RenderTextureHostSWGL::UpdatePlanes when using WebGL on Mac
Categories
(Core :: Graphics: WebRender, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox82 | --- | disabled |
firefox83 | --- | disabled |
firefox84 | --- | fixed |
People
(Reporter: mattwoodrow, Assigned: mattwoodrow)
References
(Blocks 1 open bug)
Details
(Keywords: crash)
Crash Data
Attachments
(3 files)
WebGL crashes on Mac when running SWGL
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
This shouldn't have any behaviour changes, just removes some code duplication.
Assignee | ||
Comment 2•4 years ago
|
||
Previously we weren't setting any format on these surfaces (despite the inputs being BGRA), and GetFormat was hitting the default: case to return RGBA.
CGLTexImageIOSurface2D binds these with a format of GL_BGRA, but an internal format of GL_RGBA, which is why returning RGBA from GetFormat was sometimes useful.
We return a format of RGBA as an outparam when binding to a texture, so this changes the callers that really want the GL internal format to use that rather than GetFormat.
Depends on D93610
Assignee | ||
Comment 3•4 years ago
|
||
Depends on D93611
Updated•4 years ago
|
Updated•4 years ago
|
Comment 6•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a3070cc80049
https://hg.mozilla.org/mozilla-central/rev/e8faa0d10533
https://hg.mozilla.org/mozilla-central/rev/08541f198a99
Comment 7•4 years ago
|
||
I knew this bug existed, but I filed bug 1671948 because these patches didn't appear to fix the crash (I should have included a better description). Here's a try run that includes these three patches (maybe they're out of date in my try push?), and also stands up a new talos task:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=f8b5384ac0e1990925cff26cc0845e45519caa4d&searchStr=macos%2Cwebgl
I'll leave it up to whoever investigates to decide whether to re-open this bug or re-open bug 1671948.
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Description
•