Closed Bug 1559556 Opened 5 years ago Closed 5 years ago

GL<440 Can't rely on BlitFramebuffer to sRGB encode/decode

Categories

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

defect

Tracking

()

RESOLVED FIXED
mozilla69
Tracking Status
firefox69 --- fixed

People

(Reporter: jgilbert, Assigned: jgilbert)

References

(Blocks 2 open bugs, )

Details

Attachments

(1 file)

Here's Chromium's handling:
https://cs.chromium.org/chromium/src/third_party/angle/src/libANGLE/renderer/gl/FramebufferGL.cpp?sq=package:chromium&dr=C&g=0

Decode sRGB->linear requires GL440.
Encode linear->sRGB requires GL420.

This repros most obviously on Mac, which only supports GL410. (suspicious!)

Pushed by jgilbert@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d768efa49870 Handle sRGB encode/decode BlitFramebuffer calls on GL<440. r=lsalzman
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: