Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUpgrade webrender #23510
Upgrade webrender #23510
Comments
|
@gankro Perhaps you could point us in the right direction here? |
|
Relevant errors:
|
|
Not entirely sure what the issue is here, but you can always dummy initialize a lot of things like SpatialIds/ClipIds and do a fixup pass afterwards. For instance, ( https://searchfox.org/mozilla-central/source/gfx/wr/webrender_api/src/api.rs#832 |
|
@gankro Thanks, that's helpful! |
|
#23516 might be enough, we just need to address the test failures now. |
|
#23516 has been merged, this can be closed :) |
WIP branch that encounters errors in layout:
master...jdm:wrup
Two particular commits that are making this upgrade difficult:
servo/webrender@717b1a2
servo/webrender@d33e637
The errors are coming from the code in layout/display_list/; our display list is a composite of WR item types and Servo item types, since we have a Servo DL construction pass followed by a WR conversion pass in components/layout/display_list/webrender_helpers.rs. The WR changes suggest that we need to merge these passes and create a WR display list from the start, since the things like SpatialId aren't available when we're creating the Servo display list.