Open
Bug 1536360
Opened 6 years ago
Updated 7 months ago
[meta] Picture caching improvements
Categories
(Core :: Graphics: WebRender, enhancement, P2)
Core
Graphics: WebRender
Tracking
()
NEW
People
(Reporter: gw, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Keywords: meta, Whiteboard: [wr-q41])
We now have external scroll offset in the scroll node API for WR. We can use this as a base to make a number of picture caching improvements. Some of these are speculative and require prototyping and investigation. It's likely that some combination of the items below can provide significant improvements to the performance and robustness of picture caching:
- Make use of external scroll offsets to avoid correlation of display lists.
- Use external scroll offsets to avoid needing to calculate tile-relative world space positions for primitive and clip dependencies.
- Store cache dependencies per-picture, allowing caching of multiple slices of the scene.
- Estimate pixel overdraw counts during batching to determine which tiles / slices are worth caching.
- Store primitive origins in primitive / clip templates, to reduce CPU copying overhead in dependency generation.
- Combine slices with a single compositing shader, to reduce framebuffer bandwidth.
- Consider using framebuffer fetch and/or pixel local storage on supported mobile devices to reduce memory bandwidth.
Reporter | ||
Updated•6 years ago
|
Assignee: nobody → gwatson
Updated•6 years ago
|
Depends on: wr-android-mvp
Priority: -- → P2
Updated•6 years ago
|
Blocks: wr-android-mvp
No longer depends on: wr-android-mvp
Updated•6 years ago
|
Whiteboard: [wr-amvp][wr-q2]
Updated•6 years ago
|
Blocks: wr-android-nightly
Updated•6 years ago
|
No longer blocks: wr-android-mvp
Reporter | ||
Updated•6 years ago
|
Updated•6 years ago
|
Whiteboard: [wr-amvp][wr-q2] → [wr-amvp][wr-q3][wr-july]
Comment 2•6 years ago
|
||
We're ok turning on WR on Nightly without this, so moving this to the MVP metabug.
Updated•6 years ago
|
Whiteboard: [wr-amvp][wr-q3][wr-july] → [wr-amvp][wr-q3][wr-aug]
Updated•6 years ago
|
Whiteboard: [wr-amvp][wr-q3][wr-aug] → [wr-q41]
Reporter | ||
Updated•6 years ago
|
Updated•6 years ago
|
No longer blocks: wr-android-mvp
Reporter | ||
Updated•5 years ago
|
Assignee: gwatson → nobody
Summary: Picture caching improvements → [meta] Picture caching improvements
Reporter | ||
Updated•5 years ago
|
Updated•5 years ago
|
Blocks: picture-cache-perf
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•