Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #29871 - wusyong:raw-handle, r=<try>
Use raw handles to create surfman context instead <!-- Please describe your changes on the following line: --> --- <!-- 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 - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because it only changes how winit port create surfman contexts. <!-- 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. --> It's amazing to see many activities on Servo recently. I would like to look into building it as a library crate again. But I think it's best I could start something small to prevent getting stuck. I hope it can accept any kind of window libraries and frameworks, with something like winit as fallback. There will be people using various tools like gtk, UI kit, glazier (window crate from druid community). Exposing API to accept raw window and display handle should do the work. And I think this can start with chaning internal use first. However, `Connection::from_raw_display_handle` isn't included in version 0.6, so I have to patch it. Could it release another version for this?
- Loading branch information