[Webkit-unassigned] [Bug 233488] make font code usable from multiple threads
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Nov 25 13:02:58 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=233488
--- Comment #4 from Cameron McCormack (:heycam) <heycam at apple.com> ---
You are right that you already did the work of making each thread have a FontCache! I described that incorrectly in my comment 0. But I think there are still a bunch of other, related caches, which are used in a non-thread-safe manner. For example:
* the FontDatabase objects in FontCacheCoreText.cpp
* the FontMap object in FontFamilySpecificationCoreText.cpp
* the SystemFallbackCache in Font.cpp
* matchSystemFontUse in FontDescriptionCocoa.cpp
and some other smaller, static variables that would have their initializers run concurrently:
* rotateLeftTransform in FontCascadeCoreText.cpp
* expandAroundIdeographs in ComplexTextController::adjustGlyphsAndAdvances
* cascadeToLastResortAndVariationsFontDescriptor in FontPlatformDataCoreText.cpp
Most (but not all) of the things I've found so far are in Cocoa-specific code.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211125/05611570/attachment-0001.htm>
More information about the webkit-unassigned
mailing list