Closed Bug 1591524 Opened 5 years ago Closed 5 years ago

OS compositor surfaces for overlay scrollbar tiles are leaked

Categories

(Core :: Graphics: WebRender, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: mstange, Assigned: gw)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

With the patch from bug 1589512, the OS compositor surfaces that are allocated for overlay scrollbars are never destroyed. Showing and hiding scrollbars repeatedly creates more and more surfaces.

Example logging output:

EndFrame. layers: 111 (111 used / 0 unused), memory: 764%, overdraw: 305%, painting: 0%
EndFrame. layers: 146 (110 used / 36 unused), memory: 763%, overdraw: 305%, painting: 50%
...
EndFrame. layers: 182 (110 used / 72 unused), memory: 763%, overdraw: 305%, painting: 50%
...
EndFrame. layers: 218 (110 used / 108 unused), memory: 763%, overdraw: 305%, painting: 50%
Assignee: nobody → gwatson
Blocks: 1592016
Pushed by gwatson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/47376d3ff1a9
Clean up native compositor surfaces that are not retained. r=kvark
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: