Closed Bug 1406510 Opened 7 years ago Closed 7 years ago

Use DLBuilder save-restore to stream TextDrawTarget commands?

Categories

(Core :: Graphics: WebRender, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
mozilla58
Tracking Status
firefox57 --- unaffected
firefox58 --- unaffected

People

(Reporter: Gankra, Assigned: Gankra)

References

Details

(Whiteboard: [wr-mvp])

Attachments

(1 file)

This prevents TextDrawTarget from needing to do any unnecessary allocations/copies (other than the class itself). It also significantly simplifies our code. Possible downside: moves us further away from retaining textFrame layout results? Not necessarily important if we can just make everything fast enough. I have a patch ready, just need some webrender updates to land.
Whiteboard: [wr-mvp] [triage]
Patch up for perf evaluation.
Assignee: nobody → a.beingessner
Status: NEW → ASSIGNED
Priority: -- → P1
Whiteboard: [wr-mvp] [triage] → [wr-mvp]
Comment on attachment 8917222 [details] Bug 1406510 - rewrite TextDrawTarget to push directly into display list. https://reviewboard.mozilla.org/r/188242/#review193764 Looks good to me. As discussed, let's wait for text layers to be turned on before landing this so we get testing.
Attachment #8917222 - Flags: review?(jmuizelaar) → review+
Pushed by ryanvm@gmail.com: https://hg.mozilla.org/integration/autoland/rev/2ab5ef946a40 rewrite TextDrawTarget to push directly into display list. r=jrmuizel
Keywords: checkin-needed
Backout by ryanvm@gmail.com: https://hg.mozilla.org/integration/autoland/rev/2eaa3fcaf6db Backed out changeset 2ab5ef946a40 for test failures.
Missing TerminateShadows call, good to go.
Keywords: checkin-needed
Pushed by jmuizelaar@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/722270790476 rewrite TextDrawTarget to push directly into display list. r=jrmuizel
Keywords: checkin-needed
Pushed by ryanvm@gmail.com: https://hg.mozilla.org/integration/autoland/rev/c1f9baaa7b63 rewrite TextDrawTarget to push directly into display list. r=jrmuizel
Backout by ryanvm@gmail.com: https://hg.mozilla.org/integration/autoland/rev/2b746fdf27e0 Backed out changeset c1f9baaa7b63 because it was already landed on inbound while autoland was closed.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: