Closed Bug 1411204 Opened 7 years ago Closed 29 days ago

Partially update the fallback image

Categories

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

enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: ethlin, Unassigned, NeedInfo)

References

Details

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

Attachments

(1 file)

We always repaint and reallocate memory for the whole fallback items when something changed. Currently we use clipped bounds for each display item. I think we should allocate a memory with the size of the item's bounds and paint partially, and also update partially.
Whiteboard: [wr-mvp] [triage]
Assignee: ethlin → nobody
Priority: -- → P3
Whiteboard: [wr-mvp] [triage] → [wr-reserve]
I landed a small part of this in bug 1410550
Whiteboard: [wr-reserve] → [wr-reserve][gfx-noted]
Attached patch wipSplinter Review
I don't have too much work here. Currently I just create an enough memory for each item (not clipped bounds), so that we can reuse the memory. I also remove the use of 'UpdateImageHelper'. Next step I should calculate correct invalidation region and just update the region.

We're sort of better at doing this now. Not sure how important it is to do better.

Flags: needinfo?(jmuizelaar)
Severity: normal → S3
Status: NEW → RESOLVED
Closed: 29 days ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: