bors-servo
|
ea7e753cea
|
Auto merge of #25773 - Manishearth:input-sources-change, r=jdm
Always trigger an input sources change event on session creation
Fixes our behavior to match the spec, and to specifically do it in a way
that makes sense. This is also what Chromium does currently, though I'm
not sure if it does the scheduling the same way.
The spec for this may change, see https://github.com/immersive-web/webxr/issues/961.
This fix, along with https://github.com/servo/servo/pull/25770 , makes
three.js content work on servo. Instead of this fix we can also wait for
https://github.com/mrdoob/three.js/issues/18638 to land (which isn't
certain until we figure out more about
https://github.com/immersive-web/webxr/issues/961 )
Even if https://github.com/immersive-web/webxr/issues/961 decides to
choose the option that obviates this patch, we should probably keep it
for now since there's already content out in the wild relying on this
behavior.
r? @jdm @asajeffrey
|
2020-02-16 03:10:56 -05:00 |
|
Manish Goregaokar
|
09a23b0cb1
|
Always trigger an input sources change event on session creation
|
2020-02-15 07:53:55 -08:00 |
|
Manish Goregaokar
|
54c8cac1cd
|
supportsSession() -> isSessionSupported()
|
2020-02-15 00:46:18 -08:00 |
|
Kunal Mohan
|
5a3e1b8e69
|
rename compartment to realm
|
2020-01-24 20:52:36 +05:30 |
|
Manish Goregaokar
|
9a04a37c1c
|
Gate reference space creation on requested features
|
2020-01-21 20:19:22 -08:00 |
|
Manish Goregaokar
|
535e05f7b2
|
Correctly unset pending flag
|
2020-01-21 15:47:30 -08:00 |
|
Manish Goregaokar
|
d33d21ce72
|
Add support for requesting features
|
2020-01-21 15:47:30 -08:00 |
|
Manish Goregaokar
|
01f27e9c69
|
Do not wait for rAF to be requested in render loop
|
2019-12-29 00:01:35 -08:00 |
|
Manish Goregaokar
|
d12f8e31a3
|
Allow spawning inline sessions without interaction
|
2019-12-11 23:34:25 -08:00 |
|
Manish Goregaokar
|
2066a5509a
|
Allow constructing inline sessions
|
2019-12-10 15:13:42 -08:00 |
|
Paul Rouget
|
ea7b581537
|
Do not allow XR session on non user-activated events
|
2019-09-20 07:52:26 +02:00 |
|
Manish Goregaokar
|
acfe1ee0dd
|
Add support for OpenXR hololens backend
|
2019-08-12 19:28:48 -07:00 |
|
Alan Jeffrey
|
133a17e15c
|
Replace use of callbacks in webxr by channels
|
2019-07-26 23:36:13 -05:00 |
|
Manish Goregaokar
|
b66cbd364a
|
Support end events and end()
|
2019-07-22 09:32:01 -07:00 |
|
Manish Goregaokar
|
df1f865cb2
|
Update xr.requestSession() arguments
|
2019-07-16 22:17:05 -07:00 |
|
Manish Goregaokar
|
7a8640ec1e
|
Remove session deactivation
|
2019-07-11 11:12:59 -07:00 |
|
Manish Goregaokar
|
57c85361be
|
Clean up vrdisplay, set active immersive session correctly
|
2019-07-11 11:12:59 -07:00 |
|
Manish Goregaokar
|
d55ed4240c
|
Hook requestSession() into new XR crate
|
2019-07-11 11:12:59 -07:00 |
|
Manish Goregaokar
|
fb105d9ff2
|
Hook supportsSession() into new xr crate
|
2019-07-11 11:12:59 -07:00 |
|
bors-servo
|
03f223663f
|
Auto merge of #23459 - Eijebong:compartments, r=jdm
Add an inCompartments config option for bindings
Fixes #23257
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23459)
<!-- Reviewable:end -->
|
2019-06-02 14:41:20 -04:00 |
|
Manish Goregaokar
|
c689866d35
|
Add XR.test()
|
2019-05-30 13:29:05 -07:00 |
|
Bastien Orivel
|
292d468cd1
|
Use the newly added inCompartments option everywhere it can be
|
2019-05-25 17:28:07 +02:00 |
|
Aron Zwaan
|
e2e6e2ac94
|
Pass InCompartment by value
|
2019-04-25 11:37:35 +02:00 |
|
Aron Zwaan
|
1b6949d4cf
|
Add proof parameter to Promise::new_in_current_compartment
|
2019-04-24 19:46:10 +02:00 |
|
Aron Zwaan
|
782b58587a
|
Rename Promise::new to Promise::new_in_current_compartment
|
2019-04-03 20:45:30 +02:00 |
|
Manish Goregaokar
|
c44b63f335
|
Handle erroring out when there are multiple immersive sessions
|
2019-02-19 17:50:46 +05:30 |
|
Manish Goregaokar
|
e2522d36ff
|
Use async VR presentation code for XRSession
|
2019-01-07 23:43:04 -08:00 |
|
Manish Goregaokar
|
90e87b97ba
|
Init XR present on XR::RequestSession() with empty context
|
2019-01-07 15:24:26 -08:00 |
|
Manish Goregaokar
|
611dc4bc70
|
Remove now-unnecessary must_root and allow(unrooted_must_root) annotations
|
2019-01-04 15:05:07 -08:00 |
|
Manish Goregaokar
|
e544462b6c
|
Remove unrooted_must_root
|
2019-01-03 23:53:50 -08:00 |
|
Manish Goregaokar
|
c6c6b518cb
|
Add spec links
|
2018-12-22 22:30:42 -08:00 |
|
Manish Goregaokar
|
28dff81dbf
|
Fill in XR frame/pose/view implementations
|
2018-12-21 15:47:28 -08:00 |
|
Manish Goregaokar
|
e259ff727e
|
Simple presentation
|
2018-12-20 17:42:22 -08:00 |
|
Manish Goregaokar
|
d5911816e1
|
Fill in XR.requestSession
|
2018-12-19 19:56:52 -08:00 |
|
Manish Goregaokar
|
ebf9ccc9de
|
Basic XRSession interface
|
2018-12-19 15:40:38 -08:00 |
|
Manish Goregaokar
|
376426a936
|
Move VR interface to XR
The WebVR spec no longer has a navigator.vr, but there is a navigator.XR in the XR spec. Instead of duplicating work I've combined the two.
|
2018-12-19 14:33:54 -08:00 |
|