Open Bug 929691 Opened 11 years ago Updated 2 years ago

Avoid creating nsDisplayTransform items for SVG and propagate the transforms down instead

Categories

(Core :: SVG, defect)

defect

Tracking

()

People

(Reporter: jwatt, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: perf)

Transforms are very common in SVG, but nsDisplayTransform and the layer that is created for it involve a lot of overhead. The cost can be way more than a simple matrix multiply (i.e. multiple allocations, lots of extra code path followed, etc.). For static SVG this is all just extra cost for no gain. We should think about whether we can avoid creating nsDisplayTransform items unless we know that the transform will create an active layer. We can perhaps propagate transforms down through BuildDisplayList, or something.
Keywords: perf
Blocks: 703159
No longer blocks: 703159
Depends on: 930734
No longer depends on: 930734
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.