Closed Bug 1522028 Opened 5 years ago Closed 5 years ago

Avoid interning text run primitives due to scrolled offset field.

Categories

(Core :: Graphics: WebRender, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: gw, Assigned: gw)

References

Details

Attachments

(1 file)

In some cases, Gecko may supply a text run with an offset field that changes as the scene is scrolled. When a new display list is sent, this can result in text run primitives being interned when they are otherwise the same.

Instead, make the text run primitive offset field be relative to the primitive origin, to avoid all this extra primitive interning.

Assignee: nobody → gwatson
Pushed by gwatson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bde038bd2937
Avoid interning text run primitives due to scrolled offset field. r=emilio
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
Depends on: 1522814
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: