Closed Bug 1845169 Opened 1 year ago Closed 1 year ago

Further optimize gfxHarfBuzzShaper::ShapeText by implementing bulk glyph & width getters

Categories

(Core :: Layout: Text and Fonts, task)

task

Tracking

()

RESOLVED FIXED
117 Branch
Tracking Status
firefox117 --- fixed

People

(Reporter: jfkthame, Assigned: jfkthame)

References

(Blocks 1 open bug)

Details

(Whiteboard: [sp3])

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1844464 +++

We can improve shaping performance slightly more by implementing additional harfbuzz callbacks to get a batch of glyph IDs and advances in a single call, rather than one-by-one.

No behavior change, but a small performance boost thanks to fewer
individual callbacks and less lock-twiddling.

Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Pushed by jkew@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/59514c3f9503 Implement harfbuzz callbacks for batch char-to-glyph mappings and glyph widths. r=gfx-reviewers,lsalzman
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: