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 upSwitch the default renderer to WebRender #11136
Conversation
|
Consider that we've regressed -c (and probably -g), I think it makes sense to flip this switch. |
More discussion in #11138 |
|
So |
|
@bors-servo try |
Switch the default renderer to WebRender Just testing for now to see if we even pass the tests... planning to `try` this once the queue dies down a bit. DO NOT MERGE. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11136) <!-- Reviewable:end -->
|
|
|
I'm actually totally surprised about this passing given WebGL+webrender on mac is apparently broken, and that we only test WebGL on mac because of linux resource exhaustion. @ConnorGBrewster, maybe this depends on the OSX version? Could someone with the same version of OSX as the buildbots check that |
|
I can confirm that this is broken in 10.11.4. @larsbergstrom what version are the builders on? |
|
@metajack The OSX builders are all on 10.10. We haven't yet updated to 10.11. |
|
@glennw Should I remove the |
|
I would really like to keep those if it's not a lot of work. If we do decide to remove them, let's open bugs to bring them back. |
|
Well, show-parallel-layout anyway. show-parallel-paint doesn't really make sense with webrender, and webrender's debug overlay is the replacement. |
|
@bors-servo clean retry try |
Switch the default renderer to WebRender Just testing for now to see if we even pass the tests... planning to `try` this once the queue dies down a bit. DO NOT MERGE. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11136) <!-- Reviewable:end -->
|
|
|
What’s blocking this from landing? |
|
Supposedly, the WebGL tests do not pass on OSX 10.11. The successful run above is on OSX 10.10. We're still upgrading the machines to 10.11. |
|
Indeed, here's the log:
|
|
The proper fix for this is a large-ish refactor (though the linux code would benefit from it too). As a short-term solution, I think webrender can run over a compatibility context, in which case I think OSX shouldn't complain when creating a shared context. I can't test it since I have no mac, but @glennw or @pcwalton should be able to confirm if WR could use a compat profile. |
|
Also, we could fall back to readback if we fail to create a shared context, that should be easy to integrate too (will have to convert WebGL display items to contain either a context id or an "image", and in the second case the path followed would be the same as 2d canvas). If a compat context is not viable, maybe we can do this as a workaround to keep WebGL tests running. |
|
@bors-servo retry
|
|
@bors-servo retry clean |
|
@bors-servo try retry clean |
Switch the default renderer to WebRender Just testing for now to see if we even pass the tests... planning to `try` this once the queue dies down a bit. DO NOT MERGE. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11136) <!-- Reviewable:end -->
|
|
|
@bors-servo try retry clean
|
Switch the default renderer to WebRender Just testing for now to see if we even pass the tests... planning to `try` this once the queue dies down a bit. DO NOT MERGE. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11136) <!-- Reviewable:end -->
c78eeb8
to
8f75d4a
|
@bors-servo try retry clean
|
Switch the default renderer to WebRender Just testing for now to see if we even pass the tests... planning to `try` this once the queue dies down a bit. DO NOT MERGE. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11136) <!-- Reviewable:end -->
|
|
|
That test failure is #11703 On 06/28/2016 02:30 PM, bors-servo wrote:
|
|
lol - Lines 745 to 747 in 8211c98 |
|
@larsbergstrom I have enabled WR as the default and run through all the CSS and WPT tests. Comments below: test-css:Ran 9977 tests finished in 2669.0 seconds. attachment-local-clipping-* - CRASH - Around 10 crashes - some panic in WR that should be relatively simple. test-wpt:• 6197 ran as expected. 2135 tests skipped. /cssom-view/elementScroll.html - Several DOM scroll related fails - I think some of this is disabled / missing under WR. Given those results above, should we update test expectations and make the switch (perhaps filing bugs for the remaining issues as follow ups) or leave WR as non-default until we fix up some of those areas? |
|
I would be fine with updating the expectations, as long as we're convinced we will fix the issues soon. |
|
I'm fine with updating the expectations too. |
|
I'm still a bit worried about the regression in script-initiated scrolling that turning on webrender by default means. We currently support APIs like setting |
|
Uh, I don't recall. Let me look through my git branches. |
larsbergstrom commentedMay 11, 2016
•
edited
Just testing for now to see if we even pass the tests... planning to
trythis once the queue dies down a bit. DO NOT MERGE.This change is