Fix the transform in the quad cache key
Categories
(Core :: Graphics: WebRender, task, P3)
Tracking
()
People
(Reporter: nical, Assigned: nical)
References
Details
(Keywords: webcompat:platform-bug)
Attachments
(3 files)
The quad cache key contains a spatial node uid that is not stable across frames, which is incorrect. In addition, it gets in the way of Glenn's work on invalidation. The plan is to switch it to the local-to-device transform's value itself.
| Assignee | ||
Comment 1•3 months ago
|
||
The motivations are:
- to have access to the local-to-device transform earlier in the call chain in order to use it for the cache key,
- to avoid per-primitive redundant computation that should be done per-cluster,
- (as a bonus) to reduce the number of parameters in a lot of the quad functions.
| Assignee | ||
Comment 2•3 months ago
|
||
Comment 4•2 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/1b828aff8d79
https://hg.mozilla.org/mozilla-central/rev/1b54d1353607
| Assignee | ||
Comment 5•2 months ago
|
||
Updated•2 months ago
|
| Assignee | ||
Comment 6•2 months ago
|
||
The uplift form on lando does not let me edit the usual blurb about rationale and risk. so here it goes:
Why is the uplift needed:
Visual regressions (For example bug 2025272).
Risk of taking the patch
Rather low, although I wish the fix was a little less invasive. The fix is simple though.
The patch just made it into nightly so we could wait for a few days before uplifting.
Affected branches
The bug was introduced in version 148, but was unnoticed until it was made easier to reproduce in version 150.
I think that uplifting to 150 should be enough.
Updated•2 months ago
|
Updated•2 months ago
|
Updated•2 months ago
|
Description
•