Closed
Bug 1823215
Opened 2 years ago
Closed 2 years ago
Use ElementOrArray to manage the glyph run(s) in gfxTextRun
Categories
(Core :: Graphics: Text, task)
Core
Graphics: Text
Tracking
()
RESOLVED
FIXED
113 Branch
Tracking | Status | |
---|---|---|
firefox113 | --- | fixed |
People
(Reporter: jfkthame, Assigned: jfkthame)
References
Details
Attachments
(3 files)
Bug 1822184 introduced the ElementOrArray<T>
class, which serves a bit like an AutoTArray<T, 1>
, but is memmovable, and more compact because it doesn't store both an array header and an inline buffer.
This provides similar functionality to how gfxTextRun
manages its GlyphRun
records.
So having created the ElementOrArray<T>
template, we can switch gfxTextRun
to use this and simplify its management of the runs.
Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•2 years ago
|
||
Depends on D172938
Assignee | ||
Comment 3•2 years ago
|
||
Depends on D172939
Pushed by jkew@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7c15d9a19b49
Extract ElementOrArray<T> from CanvasRenderingContext2D into gfxUtils.h so it can also be used elsewhere in gfx/thebes. r=gfx-reviewers,lsalzman
https://hg.mozilla.org/integration/autoland/rev/8bb283e5ea91
Add API to ElementOrArray to support use in gfxTextRun to store the glyph run(s). r=gfx-reviewers,lsalzman
https://hg.mozilla.org/integration/autoland/rev/654284175f6e
Use ElementOrArray<T> to simplify the management of glyphrun(s) in gfxTextRun. r=gfx-reviewers,lsalzman
Comment 5•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7c15d9a19b49
https://hg.mozilla.org/mozilla-central/rev/8bb283e5ea91
https://hg.mozilla.org/mozilla-central/rev/654284175f6e
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox113:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•