-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
webxr: create glwindow with Rc window and without rendering context #34813
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Wu Yu Wei <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a nice simplification. Which platforms have you tested the glwindow backend on after these changes?
Signed-off-by: Wu Yu Wei <[email protected]>
@jdm Hmm okay I noticed I should hide the window at first. I was testing on wayland and it won't show the window if it's empty, and I thought it worked. update: Nvm, my refactor to deprecate winit method also caused the guard fails already. Now, I can test some samples on Windows actually with these changes. |
Signed-off-by: Wu Yuwei <[email protected]>
Now glwindow will create a hidden window. It's better to not use it unless we really want to use this port. Signed-off-by: Wu Yu Wei <[email protected]>
Signed-off-by: Wu Yu Wei <[email protected]>
…34813) (linux windows) {"fail_fast": false, "matrix": [{"name": "Linux", "workflow": "linux", "wpt_layout": "none", "profile": "release", "unit_tests": true, "bencher": false, "wpt_args": ""}, {"name": "Windows", "workflow": "windows", "wpt_layout": "none", "profile": "release", "unit_tests": true, "bencher": false, "wpt_args": ""}]}
…34813) (linux) {"fail_fast": false, "matrix": [{"name": "Linux", "workflow": "linux", "wpt_layout": "none", "profile": "release", "unit_tests": true, "bencher": false, "wpt_args": ""}]}
…34813) (linux windows) {"fail_fast": false, "matrix": [{"name": "Linux", "workflow": "linux", "wpt_layout": "none", "profile": "release", "unit_tests": true, "bencher": false, "wpt_args": ""}, {"name": "Windows", "workflow": "windows", "wpt_layout": "none", "profile": "release", "unit_tests": true, "bencher": false, "wpt_args": ""}]}
Companion PR of servo/webxr#257
Part of #34522
This PR clarifies rendering context usage in Weber. WebXR's window creates its own Surfman context, so it doesn't really need to pass the rendering context's information. This should simplify the usage for rendering context.
./mach build -d
does not report any errors./mach test-tidy
does not report any errors