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 upPort to upstream Glutin #2385
Port to upstream Glutin #2385
Conversation
|
The code is ready now, although I'm concerned about the input lag. When I just start, say the animation example ( |
tomaka
commented
Feb 6, 2018
|
Is it on X11? The X11 code has changed considerably recently, so it's not impossible that a bug sneaked in. |
|
@tomaka yes, I'm on X11 |
|
Ugh, another problem: https://tools.taskcluster.net/groups/HBUSRLrbSAqmv8kJJnjljg/tasks/HBUSRLrbSAqmv8kJJnjljg/runs/0/logs/public%2Flogs%2Flive.log#L1254
|
f8bc1ad
to
2f36dfb
|
cc @staktrace ^ |
|
I don't know offhand what the problem here is. It looks like the panic is because winit cannot initialize either wayland or X, but if we're running headless I would have thought we wouldn't need either of those? |
|
I guess one way to proceed would be to avoid creating |
|
Also just a note - since you're modifying .travis.yml you should make the same change to .taskcluster.yml or the two CIs will get out of sync. |
|
@staktrace thanks for the heads up! should be good now. |
|
Yeah I think servo has a etc/ci/ folder with automation scripts, something similar would be good to do here |
|
@glennw this should be ready for review (assuming CI passes). Would be great if you could pull this change on your end and see if everything (namely, examples and wrench) still works as expected. |
|
@kvark Sure, I'll do some testing and review it today. |
|
Reviewed 9 of 11 files at r1, 5 of 7 files at r2, 2 of 2 files at r3, 1 of 1 files at r4. webrender/Cargo.toml, line 46 at r4 (raw file):
nit: tabs here instead of spaces Comments from Reviewable |
|
The tiniest of nits only - still building locally to actually test though. |
|
OK, I tested this a bit - using Wayland on Ubuntu 17.10. The window decorations are a bit strange (very different to a normal window), and there is no title. Resizing also doesn't work correctly (but I think that was the case previously too, just that you now see uninitialized GPU memory :) ). I'm fine with landing it like that - I think it's a net win, and it doesn't affect the main functionality. So, r=me when you're ready to merge this. |
|
|
|
@bors-servo r+ |
|
|
Port to upstream Glutin Fixes #2356 cc @tomaka <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/2385) <!-- Reviewable:end -->
|
|
|
Could we get a Servo WR update with this to address servo/servo#19901? |
|
@atouchet If you are talking about updating WR version used in Servo, than it wouldn't help. This PR only ports the examples and wrench, which have nothing to do with Servo. |
|
Alright, I was under the impression that a WebRender update caused the breakage but I guess that is not actually the case then. |
kvark commentedFeb 6, 2018
•
edited by larsbergstrom
Fixes #2356
cc @tomaka
This change is