Open
Bug 1509158
Opened 6 years ago
Updated 9 months ago
Make Text Drawing simpler and faster
Categories
(Core :: Graphics: WebRender, enhancement, P2)
Core
Graphics: WebRender
Tracking
()
NEW
People
(Reporter: jrmuizel, Unassigned)
References
(Depends on 4 open bugs, Blocks 1 open bug)
Details
We spend quite a bit of WebRender display list building time going through nsTextFrame::DrawText. I suspect this code could be simplified and sped up further.
One option is to move more work into TextRun creation. See bug 1507975.
I'll continue to investigate what else there is to do.
Reporter | ||
Updated•6 years ago
|
Blocks: stage-wr-trains
Priority: -- → P2
Reporter | ||
Comment 1•6 years ago
|
||
As part of my investigations I saw 8.8% of nsDisplayText::RenderToContext being spent in nsTextFrame::EnsureTextRun. It looks like at least half of the time in this function is spent on
if (textRun->GetFlags2() & nsTextFrameUtils::Flags::TEXT_IS_SIMPLE_FLOW) {
where I expect we're cache missing on the textRun for the first time and there's not much we can do here except improving our cache behaviour.
Reporter | ||
Updated•6 years ago
|
Updated•2 years ago
|
Severity: normal → S3
Updated•9 months ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•