Skip to content
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

glwindow webxr backend doesn't work on three.js rollercoaster #24073

Closed
jdm opened this issue Aug 27, 2019 · 4 comments
Closed

glwindow webxr backend doesn't work on three.js rollercoaster #24073

jdm opened this issue Aug 27, 2019 · 4 comments
Labels

Comments

@jdm
Copy link
Member

@jdm jdm commented Aug 27, 2019

godot:~ jdm$ /Volumes/Servo/Servo.app/Contents/MacOS/servo http://rawcdn.githack.com/mrdoob/three.js/r105/examples/webvr_rollercoaster.html --pref dom.webxr.enabled --pref dom.webxr.glwindow
THREE.WebGLRenderer
105
[2019-08-27T21:10:07Z ERROR offscreen_gl_context::draw_buffer] The given GLContext doesn't support requested antialising
THREE.WebGLRenderer: WEBGL_depth_texture extension not supported.
[2019-08-27T21:10:07Z ERROR offscreen_gl_context::draw_buffer] The given GLContext doesn't support requested antialising
[2019-08-27T21:10:07Z ERROR offscreen_gl_context::draw_buffer] The given GLContext doesn't support requested antialising
[2019-08-27T21:10:07Z ERROR offscreen_gl_context::draw_buffer] The given GLContext doesn't support requested antialising
[2019-08-27T21:10:07Z ERROR offscreen_gl_context::draw_buffer] The given GLContext doesn't support requested antialising
[2019-08-27T21:10:09Z ERROR servo::context] Context is not current. Forgot to call prepare_for_composite?
[2019-08-27T21:10:09Z ERROR servo::context] Context is not current. Forgot to call prepare_for_composite?

I get a solid blue screen with no actual webgl content when I press the "Enter XR" button.

@jdm jdm added the A-xr-zomg label Aug 27, 2019
@jdm
Copy link
Member Author

@jdm jdm commented Aug 27, 2019

The single existing window also no longer responds to pressing escape.

@gterzian
Copy link
Member

@gterzian gterzian commented Aug 27, 2019

I get a second window, hidden behind the one showing the blue screen, and I'm guessing you actually do as well. Just move the one with the blue screen to see the second one with the roller coaster.

When you put the other window showing the roller coaster in front, and you press escapre, you get: called Result::unwrap()on anErr value: "SendError(..)" (thread WRRenderBackend#0, at src/libcore/result.rs:1084)

Or sometimes you get the error noted at #23986

@paulrouget
Copy link
Contributor

@paulrouget paulrouget commented Aug 28, 2019

Also there is an issue where the gl contexts are not made present in the right order.

@jdm
Copy link
Member Author

@jdm jdm commented Aug 30, 2019

This indeed works as described in #24073 (comment).

@jdm jdm closed this Aug 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.