Closed
Bug 1344002
Opened 8 years ago
Closed 8 years ago
Convert nsDisplayOpacity to WR Display Item
Categories
(Core :: Graphics: WebRender, enhancement)
Tracking
()
RESOLVED
INVALID
People
(Reporter: mchang, Assigned: mchang)
References
Details
No description provided.
Assignee | ||
Comment 1•8 years ago
|
||
After looking through the code in nsDisplayList.cpp [1], I'm not sure we need a WR display layer / conversion. nsDisplayOpacity builds a container layer and sets the opacity there, then depends on the children to render themselves. WR already supports a container layer.. which I think means we probably want to keep the same logic for this display item. Does this sound about right to you?
[1] http://searchfox.org/mozilla-central/source/layout/painting/nsDisplayList.cpp#5277
Flags: needinfo?(matt.woodrow)
Comment 2•8 years ago
|
||
Yes, there is nothing to do for nsDisplayOpacity. Same for the other container-style nsDisplayItem types: nsDisplayTransform, nsDisplayBlendMode, nsDisplayBlendContainer, nsDisplayMask, nsDisplayOwnLayer. These are already supported by our current layer system.
The only exception is nsDisplayFilter, which is a whole separate project.
Updated•8 years ago
|
Flags: needinfo?(matt.woodrow)
Assignee | ||
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•