Closed Bug 1784383 Opened 2 years ago Closed 1 year ago

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

Categories

(Core :: Graphics: WebRender, task)

task

Tracking

()

RESOLVED INVALID

People

(Reporter: ahale, Assigned: ahale)

References

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

Do we still need this bug?

Flags: needinfo?(gwatson)

No, this is covered by the new clip-mask work for image masks now.

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Flags: needinfo?(gwatson)
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.