Closed Bug 1293535 Opened 8 years ago Closed 8 years ago

Separating nsDisplaySVGEffects into nsDisplayMask and nsDisplayFilter

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1295094

People

(Reporter: u459114, Assigned: u459114)

References

Details

Bug 1234485 comment 5:
mstange wrote:
I recommend starting by separating nsDisplaySVGEffects into nsDisplayMask and nsDisplayFilter. nsDisplayMask would be responsible for the combined rendering of both clip-path and mask, regardless of whether they're CSS or SVG clip-paths / masks. Then you can use LAYER_INACTIVE / LAYER_ACTIVE for nsDisplayMask, and LAYER_SVG_EFFECTS for nsDisplayFilter. If an element has both a clip-path / mask and a filter, the separation might conceivably hurt performance a bit, but I don't think that's worth worrying about much.

And I agree with it. Create this bug for this refactory.
Depends on: 1295094
Blocks: mask-perf
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.