Skip to content

Replace glutin by winit + surfman 0.2 - #25853

Merged
bors-servo merged 1 commit into
servo:masterfrom
asajeffrey:surfmanup
Apr 19, 2020
Merged

bors-servo merged 1 commit into
servo:masterfrom
asajeffrey:surfmanup

Conversation

@asajeffrey

Copy link
Copy Markdown
Contributor

This PR updates surfman to 0.2, and replaces glutin with winit+surfman.


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes do not require tests because this should all be invisible

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Feb 27, 2020
@highfive

Copy link
Copy Markdown

warning Warning warning

  • These commits modify unsafe code. Please review it carefully!

@asajeffrey

Copy link
Copy Markdown
Contributor Author

Let's see how much stuff is broken on CI... @bors-servo try

@bors-servo

Copy link
Copy Markdown
Contributor

🔒 Merge conflict

@asajeffrey

Copy link
Copy Markdown
Contributor Author

Oh goody, rebasing for me.

@asajeffrey
asajeffrey force-pushed the surfmanup branch 2 times, most recently from 0a16791 to 617a45a Compare February 27, 2020 16:44
@asajeffrey

Copy link
Copy Markdown
Contributor Author

Let's see if that improves things... @bors-servo try

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Trying commit 617a45a with merge f6a0666...

bors-servo pushed a commit that referenced this pull request Feb 27, 2020
WIP Replace glutin by winit + surfman 0.2

<!-- Please describe your changes on the following line: -->

This PR updates surfman to 0.2, and replaces glutin with winit+surfman.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes do not require tests because this should all be invisible

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - status-taskcluster

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-tests-failed The changes caused existing tests to fail. labels Feb 27, 2020
@asajeffrey

Copy link
Copy Markdown
Contributor Author

OK, let's see if that fixed the build at least... @bors-servo try=linux

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Trying commit 7ce05dc with merge 6a0b4da...

bors-servo pushed a commit that referenced this pull request Feb 27, 2020
WIP Replace glutin by winit + surfman 0.2

<!-- Please describe your changes on the following line: -->

This PR updates surfman to 0.2, and replaces glutin with winit+surfman.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes do not require tests because this should all be invisible

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
@jdm

jdm commented Feb 27, 2020

Copy link
Copy Markdown
Member

Test-tidy:

./ports/glutin/headed_window.rs:525: tab on line

@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - status-taskcluster

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-tests-failed The changes caused existing tests to fail. labels Feb 27, 2020
@asajeffrey

asajeffrey commented Feb 27, 2020 •

Copy link
Copy Markdown
Contributor Author

TODO:

  • Submit PRs to upstream surfman
  • Submit PRs to upstream webxr
  • Remove webvr dependency?
  • Get gl_bindings to generate EGL bindings for UWP
  • Get PR to build in CI
  • Get PR to pass WPT in CI
  • Get media to work again
  • Get glwindow test device to work again
  • Move webrender_surfman out of webrender_traits (since script depends on webrender_traits)
  • Deal with resizing
  • WebGL content is incorrectly sized (e.g. https://threejs.org/examples/#webgl_animation_cloth)
  • Fix content positioning on wayland
  • Look at upgrading winit while we're at it
  • Remove uses of unwrap()
  • File issue about reenabling android builds
  • Remove osmesa archiving code from CI
  • Get gstreamer plugin to run
  • Rename ports/glutin to ports/desktop
  • Fix unused import warnings
  • Get openxr to not glFinish() on native surfaces

@atouchet

Copy link
Copy Markdown
Contributor

Would it be possible to update winit as part of this?

@asajeffrey

Copy link
Copy Markdown
Contributor Author

@atouchet I added a TODO item.

@asajeffrey

Copy link
Copy Markdown
Contributor Author

@bors-servo try=linux

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Trying commit 0303521 with merge 8bf5157...

bors-servo pushed a commit that referenced this pull request Feb 27, 2020
WIP Replace glutin by winit + surfman 0.2

<!-- Please describe your changes on the following line: -->

This PR updates surfman to 0.2, and replaces glutin with winit+surfman.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes do not require tests because this should all be invisible

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - status-taskcluster

@highfive highfive added the S-tests-failed The changes caused existing tests to fail. label Feb 27, 2020
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 8bb1732 with merge 306e8ac...

@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - status-taskcluster
Approved by: jdm
Pushing 306e8ac to master...

@asajeffrey

Copy link
Copy Markdown
Contributor Author

Thank you @CYBAI and @jdm. We have surfman 0.2!

@atouchet atouchet mentioned this pull request Apr 20, 2020
@imiklos imiklos mentioned this pull request Apr 23, 2020
3 tasks done
@camelid camelid mentioned this pull request Apr 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants