Closed Bug 1523030 Opened 5 years ago Closed 5 years ago

glBlitFramebuffer ignores glColorMask, breaking mNeedsFakeNoAlpha

Categories

(Core :: Graphics: CanvasWebGL, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
geckoview66 --- wontfix
firefox67 --- fixed

People

(Reporter: jgilbert, Assigned: jgilbert)

References

Details

(Whiteboard: gfx-noted)

Attachments

(1 file)

I'm upstreaming a webgl test for this:
https://github.com/KhronosGroup/WebGL/pull/2782

glBlitFramebuffer ignores glColorMask, unlike glClear, so we have to do
a fix-up.

Eventually we should drop mNeedsFakeNoAlpha, though.

This is an uncommon problem, and we're messing with a lot of state here, so let's slip to 67.

Pushed by jgilbert@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8f0c8126a6bb
glClear after glBlitFramebuffer with mNeedsFakeNoAlpha. r=lsalzman
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: