Open Bug 1628665 Opened 5 years ago Updated 2 years ago

Pack all four subpx positioned versions of glyphs together

Categories

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

enhancement

Tracking

()

People

(Reporter: nical, Unassigned)

References

(Blocks 1 open bug)

Details

Glenn observed that the vast majority of the time, when a glyph is used, all subpx position variants are used as well. if we pack then into a single texture cache entry we could:

  • reduce the pressure on glyph cache liveness bookkeeping,
  • upload larger items that are less likely to waste a ton of space if we end up rounding the minimum texture cache item widths to the optimal stride which can be large (256 bytes on some configurations).
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.