Closed
Bug 1711462
Opened 3 years ago
Closed 3 years ago
Evict texture cache items when deleting image keys
Categories
(Core :: Graphics: WebRender, enhancement, P3)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
90 Branch
Tracking | Status | |
---|---|---|
firefox90 | --- | fixed |
People
(Reporter: nical, Assigned: nical)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Once an image key is gone its textue cache entry can never be used again. The more eagerly we evict useless cache items the better for cache pressure and memory usage overall.
Assignee | ||
Comment 1•3 years ago
|
||
Making room in the texture cache as early as possible reduces the likelihood of allocating extra textures. It will also let us discard unused cached render tasks more aggressively in a folowup patch.
Pushed by nsilva@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7fe9e5e3e89e Evict non-manual texture cache items when nothing holds on to them. r=gfx-reviewers,gw
Comment 3•3 years ago
|
||
Backed out for reftest failures on svg-paint-rect-changes.html along with Bug 1705024.
Backout by ncsoregi@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/28c6110d23c9 Backed out 2 changesets (bug 1711462, bug 1705024) for failures on svg-paint-rect-changes.html. CLOSED TREE
Pushed by nsilva@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8ed9d74e8c6f Evict non-manual texture cache items when nothing holds on to them. r=gfx-reviewers,gw
Comment 6•3 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 3 years ago
status-firefox90:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•