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•10 years ago
|
||
Comment 3•10 years ago
|
||
Comment 4•9 years ago
|
||
Comment 5•9 years ago
|
||
Comment 6•9 years ago
|
||
Comment 7•9 years ago
|
||
Comment 8•9 years ago
|
||
Updated•9 years ago
|
Comment 9•8 years ago
|
||
Comment 10•8 years ago
|
||
Comment 11•8 years ago
|
||
Comment 12•7 years ago
|
||
Comment 13•7 years ago
|
||
Comment 14•7 years ago
|
||
Comment 15•7 years ago
|
||
Comment 16•7 years ago
|
||
Comment 17•7 years ago
|
||
Comment 18•6 years ago
|
||
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 23•6 years ago
|
||
mozreview-review |
Comment 24•6 years ago
|
||
mozreview-review |
Comment 25•6 years ago
|
||
mozreview-review |
Comment 26•6 years ago
|
||
mozreview-review |
Comment 27•6 years ago
|
||
Comment 28•6 years ago
|
||
Comment 29•6 years ago
|
||
Comment 30•6 years ago
|
||
Comment 31•6 years ago
|
||
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 36•6 years ago
|
||
mozreview-review |
Updated•6 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 37•5 years ago
|
||
Unassign Thinker because he may not keep working on this.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 38•5 years ago
|
||
Updated•5 years ago
|
Assignee | ||
Comment 39•5 years ago
|
||
Assignee | ||
Comment 40•5 years ago
|
||
Assignee | ||
Comment 41•5 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•5 years ago
|
Assignee | ||
Comment 42•5 years ago
|
||
Assignee | ||
Comment 43•5 years ago
|
||
Assignee | ||
Comment 44•5 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•5 years ago
|
Assignee | ||
Comment 45•5 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•5 years ago
|
||
Comment 47•5 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•5 years ago
|
||
Hooray! Well done Boris!
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Description
•