Open Bug 1784383 Opened 2 years ago Updated 2 years ago

Integrate Filter::Mask in Gecko to apply post-transform clipmasks

Categories

(Core :: Graphics: WebRender, task)

task

Tracking

()

ASSIGNED

People

(Reporter: ahale, Assigned: ahale)

References

(Depends on 1 open bug)

Details

Firefox uses clipmasks very little (just on tab title text, and rarely on web pages), we should refactor the clipmask functionality into a specific Filter::Mask operation rather than have it woven throughout the WebRender code which is a maintenance burden and a source of significant code duplication.

Additionally, applying clipmasks as a filter in the space of the destination surface will resolve aliasing artifacts in bug 1671784 where a rotated clipmask has undesirable image border issues.

This part of the solution is integrating use of Filter::Mask in Gecko, the implementation of Filter::Mask is bug 1784382.

Assignee: nobody → ahale
Status: NEW → ASSIGNED
Depends on: 1786634
You need to log in before you can comment on or make changes to this bug.