Closed Bug 1606742 Opened 4 years ago Closed 4 years ago

Add WebRender support for ColorMatrix filters with alpha transform

Categories

(Core :: Graphics: WebRender, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: cbrewster, Assigned: cbrewster)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

WebRender ignores the alpha-related components of the color matrix filter.

See: https://searchfox.org/mozilla-central/rev/053826b10f838f77c27507e5efecc96e34718541/layout/svg/nsFilterInstance.cpp#212-224

WebRender still accepts the full matrix and even uploads the full matrix to the GPU cache, so this should mainly involve using the full color matrix in the filter shaders.

Priority: -- → P3
Attachment #9118458 - Attachment description: Bug 1606742 - Support alpha component on svg color matrix filter → Bug 1606742 - Support alpha component on svg color matrix filter in WebRender r?gw,nical,kvark
Pushed by aiakab@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9cf306212866
Support alpha component on svg color matrix filter in WebRender r=nical
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
Regressed by: 1607746
No longer regressed by: 1607746
Regressions: 1607746
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: