Consider doing animations of transforms with preserve-3d off the main thread
Categories
(Core :: Graphics: Layers, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox73 | --- | fixed |
People
(Reporter: dzbarsky, Assigned: boris)
References
(Blocks 1 open bug, Regressed 1 open bug)
Details
(Whiteboard: [layout:backlog:2020q1])
Attachments
(4 files, 7 obsolete files)
Comment 2•11 years ago
|
||
Comment 3•11 years ago
|
||
Comment 5•10 years ago
|
||
Comment 6•10 years ago
|
||
Comment 8•10 years ago
|
||
Updated•10 years ago
|
Comment 9•9 years ago
|
||
Comment 10•9 years ago
|
||
Comment 11•9 years ago
|
||
Comment 12•8 years ago
|
||
Comment 13•8 years ago
|
||
Comment 14•8 years ago
|
||
Comment 15•8 years ago
|
||
Comment 16•8 years ago
|
||
Comment 17•8 years ago
|
||
Comment 18•7 years ago
|
||
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
Comment 23•7 years ago
|
||
| mozreview-review | ||
Comment 24•7 years ago
|
||
| mozreview-review | ||
Comment 25•7 years ago
|
||
| mozreview-review | ||
Comment 26•7 years ago
|
||
| mozreview-review | ||
Comment 27•7 years ago
|
||
Comment 28•7 years ago
|
||
Comment 29•7 years ago
|
||
Comment 30•7 years ago
|
||
Comment 31•7 years ago
|
||
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
Comment 36•7 years ago
|
||
| mozreview-review | ||
Updated•7 years ago
|
| Assignee | ||
Comment 37•6 years ago
|
||
Unassign Thinker because he may not keep working on this.
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Comment 38•6 years ago
|
||
Updated•6 years ago
|
| Assignee | ||
Comment 39•6 years ago
|
||
| Assignee | ||
Comment 40•6 years ago
|
||
| Assignee | ||
Comment 41•6 years ago
•
|
||
(In reply to Hiroyuki Ikezoe (:hiro) from comment #31)
I noticed that nsIFrame::DisplayItemData() for the parent frame can be used
for checking the situation (i.e. the given frame is a child of prerendered
preserve-3d context).
I'm looking at this patch, and it seems we cannot use nsIFrame::DisplayitemData() of the parent frame. In BuildDisplayListForStackingContext(), We go through the children of the current transformed frame and build display items for the children first (i.e. deep-first), and then build the nsDisplayTransform for the current frame. In other words, we haven't built the parent transform display item yet when calling ShouldPrerenderTransformedContent(), IIRC. Perhaps we still need an extra flag for this.
Updated•6 years ago
|
| Assignee | ||
Comment 42•6 years ago
|
||
| Assignee | ||
Comment 43•6 years ago
|
||
| Assignee | ||
Comment 44•6 years ago
|
||
Just notice using FullPrerender on pseudo elements for preserve-3d is not enough. We still need to get the correct visible rect and the dirty rect for the pseudo elements. Perhaps we can just apply PartialPrerender for them.
Updated•6 years ago
|
| Assignee | ||
Comment 45•6 years ago
|
||
try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=3b3c8573068f5eef9c7586b23aabf1d3d9e41fe9
Looks good now. Thanks for the review and I will land these patches soon.
Comment 46•6 years ago
|
||
Comment 47•6 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/c40945f576bc
https://hg.mozilla.org/mozilla-central/rev/1b0f56b9164e
https://hg.mozilla.org/mozilla-central/rev/50d6aca7fe69
Comment 48•6 years ago
|
||
Hooray! Well done Boris!
Updated•6 years ago
|
| Assignee | ||
Updated•6 years ago
|
Description
•