SVG blob image recordings should take visibility into account
Categories
(Core :: Graphics: WebRender, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox93 | --- | fixed |
People
(Reporter: aosmond, Assigned: aosmond)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Right now, SVG image recordings just use a clip rect to trim out the parts of the recording they don't need. We should switch this to the visibility rect for the display list builder so that it doesn't even try to record display items outside the rect. This will make recordings significantly smaller and faster to paint.
Assignee | ||
Comment 1•3 years ago
|
||
Supplying a visibility rect to the display list builder when recording
an SVG image blob will allow the display list builder to trim out
unnecessary items and make the recordings smaller. This is particularly
important when we have an SVG image used as an atlas.
This patch also simplifies the call path for the recordings. This allows
us to avoid unnecessary clips and transforms and shrink the recording
further, as well as make the code more auditable.
Updated•3 years ago
|
Comment 3•3 years ago
|
||
bugherder |
Description
•