Create a shared-memory-friendly version of gfxSparseBitSet to store font character coverage
Categories
(Core :: Layout: Text and Fonts, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox68 | --- | fixed |
People
(Reporter: jfkthame, Assigned: jfkthame)
References
Details
Attachments
(1 file)
gfxSparseBitSet is not suited to storing in shared memory, because of its use of nsTArray<> members. For the cross-process font list, we want to store character coverage data in the shared memory, so it will be useful to have an object like gfxSparseBitSet, but designed to be usable regardless of the address where it is mapped.
For simplicity, the SharedBitSet introduced here will be frozen once initialized, unlike gfxSharedBitSet which can be updated with set()/clear() operations. The intention is to use gfxSharedBitSet as an accumulator while reading the character coverage info for a font (as we currently do), and then "snapshot" the result into a frozen SharedBitSet for storage in the shared font list.
Assignee | ||
Comment 1•6 years ago
|
||
Depends on D22935
Assignee | ||
Comment 2•6 years ago
|
||
(This is migrated from patch 8 in bug 1514869.)
Comment 3•6 years ago
|
||
There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:jfkthame, could you have a look please?
Comment 5•6 years ago
|
||
bugherder |
Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
Description
•