Open Bug 1659009 Opened 5 years ago Updated 5 years ago

SVG images used as mask-image are being re-rasterized too frequently

Categories

(Core :: Graphics: WebRender, defect, P3)

defect

Tracking

()

People

(Reporter: mstange, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Spun out from bug 1659000.

Profile: https://share.firefox.dev/2E4mMUZ

When scrolling in the Element / Matrix sidebar, we seem to repaint the globe icon SVGs whenever the affected element moves. The SVG is used as a mask-image.

Testcase coming up.

Attached image globe.svg
Attached file testcase

I think there are two bugs here:

  1. We shouldn't be repainting the mask to begin with.
  2. When painting the mask, we shouldn't re-rasterize the SVG image. We should have a cached surface for it.
Severity: -- → S3
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: