SwCompositor retains shared depth texture for backgrounded tabs on Android
Categories
(Core :: Graphics: WebRender, enhancement, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox105 | --- | fixed |
People
(Reporter: jnicol, Assigned: jnicol)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
The SwCompositor shares a single depth texture for use when rendering to each of its tiles. Each of these may only be a few megabytes of memory. However, on Android each tab has its own compositor, meaning this quickly adds up. We should ensure we deallocate the depth texture when the tab is backgrounded. (perhaps when the last tile/surface is deallocated, once we fix bug 1784049)
| Assignee | ||
Updated•4 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
| Assignee | ||
Comment 1•3 years ago
|
||
And lazily create it when first surface is created. This prevents us
unnecessarily holding on to that memory when a compositor has no
surfaces, ie when the tab is backgrounded on Android. While each depth
texture may only be a few megabytes, this quickly adds up on Android
where each tab has its own compositor.
Depends on D154635
Updated•3 years ago
|
Comment 3•3 years ago
•
|
||
Backed out for causing mochitest failures with crash:core::panicking::panic_str
- Backout link
- Push with failures
- Failure Log
- Failure line: PROCESS-CRASH | devtools/client/inspector/rules/test/browser_rules_cubicbezier-commit-on-ENTER.js | application crashed [@ core::panicking::panic_str]
And also: https://treeherder.mozilla.org/logviewer?job_id=387476737&repo=autoland
Comment 5•3 years ago
|
||
| bugherder | ||
| Assignee | ||
Updated•3 years ago
|
Description
•