Closed Bug 1340953 Opened 4 years ago Closed 3 years ago

Reduce memory usage of WebRenderPaintedLayer

Categories

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

defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox56 --- unaffected
firefox57 --- unaffected

People

(Reporter: sotaro, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [gfx-noted])

Bug 1340950 is going to increase memory usage of WebRenderPaintedLayer for now. It should be reduce.
Blocks: webrender
Depends on: 1340950
Whiteboard: [gfx-noted]
(In reply to Sotaro Ikeda [:sotaro] from comment #0)
> Bug 1340950 is going to increase memory usage of WebRenderPaintedLayer for
> now. It should be reduce.

WebRenderPaintedLayer  consumes a lot of memory, but comment 0 is not valid any more. The code was changed a lot.
After https://github.com/servo/webrender/pull/1490 we should aggressively reuse image keys. This should greatly help with the memory consumption because currently, discarded images stay in the texture cache until they expire which can take up to 600 frames.
WebRenderPaintedLayer doesn't exist any more.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.