Open Bug 1547070 Opened 6 years ago Updated 2 years ago

Make the WR GlyphCache share scaled entries with the same data

Categories

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

enhancement

Tracking

()

People

(Reporter: lsalzman, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [wr-q2][wr-june])

This mostly affects bitmap glyphs like emoji and also oversized glyphs of any type. We may have multiple entries that have the same underlying rasterized glyph data, but yet differ in their cache entries only by the desired output scale.

It would be nice to just share that underlying data in these situations to avoid memory bloat. The actual amount of memory bloat seen in the wild is as yet unmeasured and unknown.

Blocks: wr-memory
Priority: -- → P3
Whiteboard: [wr-q2][wr-june]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.