Implement opacity flattening using WR serialization
Categories
(Core :: Web Painting, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox94 | --- | fixed |
People
(Reporter: mattwoodrow, Assigned: mattwoodrow)
References
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
Currently opacity flattening is implemented as part of display list iteration, where we flatten away no-op containers.
This works by mutating the child items, so that the opacity group item is no longer needed.
Mutating items is painful, since we have to save and restore their state, costing memory and time when we use RDL.
We can instead just push the opacity value onto the WR DisplayListBuilder object as we iterate, if all descendants support that, and then we can pull the current inherited opacity when we process the child items.
Assignee | ||
Comment 1•3 years ago
|
||
Comment 3•3 years ago
|
||
Backed out 7 changesets (Bug 1728050, Bug 1728251, Bug 1728232, Bug 1542929, Bug 1714138, Bug 1728258) for causing reftest failures.
Backout link
Push with failures R8
Also on multiple platforms - Rs6 R5
Failure Log
Comment 5•3 years ago
|
||
bugherder |
Comment 6•3 years ago
|
||
Backed out for causing Bug 1424348 a=backout
Backout link : https://hg.mozilla.org/mozilla-central/rev/e8e345cec68d8e71ba6f6f3c5ff2fe33605c670f
Comment 8•3 years ago
|
||
bugherder |
Assignee | ||
Updated•3 years ago
|
Description
•