Closed Bug 1391838 Opened 7 years ago Closed 6 years ago

Handle scrolling large blob images

Categories

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

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1429930
Tracking Status
firefox56 --- unaffected
firefox57 --- unaffected

People

(Reporter: jrmuizel, Assigned: nical)

References

Details

(Whiteboard: [wr-reserve] [gfx-noted])

Attachments

(1 obsolete file)

If we use naive blob image invalidation we'll have to redraw the entire visible area because we have only a single dirty rect. If we split the update into two pieces we can remove the out of view items in one update and then add the new ones in a second piece.

E.g. imagine a very large svg. The current plan is to create a blob image that contains the entire svg. We'll only fill in the top portion with subitems. As we scroll we'll want to remove the old items and add the new ones.

Note to self: there'll be a clip on the blob image to prevent us from display partial items.
This gives a huge performance improvement when scrolling mozilla.org
However, it can cause us to make very big display items. This should
be resolved with the tiling support from bug 1387550.
Attachment #8899136 - Attachment is obsolete: true
Priority: P3 → P2
Whiteboard: [wr-mvp]
Whiteboard: [wr-mvp] → [wr-mvp][gfx-noted]
Priority: P2 → P3
Whiteboard: [wr-mvp][gfx-noted] → [wr-reserve] [gfx-noted]
Assignee: nobody → jmuizelaar
Flags: needinfo?(jmuizelaar)
Depends on: blob-recoord
Flags: needinfo?(jmuizelaar)
Assignee: jmuizelaar → nobody
Assignee: nobody → a.beingessner
Assignee: a.beingessner → nical.bugzilla
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: