Closed Bug 2081167 Opened 1 month ago Closed 1 month ago

Perma [tier 2] nofis/nogpu svg/webrender/shapes-gradients.svg == svg/webrender/shapes-gradients.svg | image comparison, max difference: 54, number of differing pixels: 56530

Categories

(Core :: Graphics: WebRender, defect)

defect

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox-esr153 --- unaffected
firefox158 --- unaffected
firefox159 --- unaffected
firefox160 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: nical)

References

(Regression)

Details

(Keywords: intermittent-failure, regression, Whiteboard: [stockwell needswork:owner])

Attachments

(2 external files)

Severity: S4 → --
Flags: needinfo?(nical.bugzilla)
Priority: P5 → --

Set release status flags based on info from the regressing bug 2070993

Severity: -- → S3
Assignee: nobody → nical.bugzilla
Flags: needinfo?(nical.bugzilla)

SVG gradients interpolate stop colors with unpremultiplied alpha while CSS
gradients use premultiplied alpha. WebRender only supported the latter, which
made SVG gradients with stops of varying opacity render differently from the
blob image path. SWGL's span fast paths do not support unpremultiplied
interpolation yet and fall back to the fragment shader.

Linear and radial gradients with unpremultiplied interpolation fell back to the
fragment shader with SWGL. The span functions now interpolate the
unpremultiplied colors as before and premultiply each chunk of pixels before
writing it.

Pushed by nsilva@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/0d0737c5cf93 https://hg.mozilla.org/integration/autoland/rev/fcadd88c5b2a Support unpremultiplied gradient interpolation in WebRender and use it for SVG gradients. r=firefox-svg-reviewers,longsonr https://github.com/mozilla-firefox/firefox/commit/959fc14d5c8e https://hg.mozilla.org/integration/autoland/rev/0700129e2cd0 Support unpremultiplied gradient interpolation in SWGL's gradient span fast paths. r=gfx-reviewers,lsalzman
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
Duplicate of this bug: 2081729
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: