Closed
Bug 1763414
Opened 3 years ago
Closed 3 years ago
Allow gfxFontEntry instances to be used from multiple threads simultaneously
Categories
(Core :: Layout: Text and Fonts, defect, P2)
Core
Layout: Text and Fonts
Tracking
()
RESOLVED
FIXED
101 Branch
Tracking | Status | |
---|---|---|
firefox101 | --- | fixed |
People
(Reporter: jfkthame, Assigned: jfkthame)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
For offscreen-canvas text, we'll need access to the gfxFontEntry instances for whatever fonts are being used.
In principle gfxFontEntry is "inert" once constructed, so (read) access from multiple threads should be allowable; however, a lot of the subsidiary data in the font entry (loaded font tables, charmaps, SVG or color glyph data, math layout data, etc) is loaded lazily on first use. So we'll need to ensure this is done with appropriate locking and/or atomic operations.
Assignee | ||
Comment 1•3 years ago
|
||
Pushed by jkew@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1b885ef9e84d
Make gfxFontEntry instances usable from multiple threads. r=lsalzman
Comment 3•3 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 3 years ago
status-firefox101:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•