aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/xr.rs
Commit message (Collapse)AuthorAgeFilesLines
* refactor: rename XR to XRSystemJavaScript Joe2020-02-231-503/+0
| | | | | | | | | | | | | | chore: fix formatting refactor: change filename and ref to xrsystem refactor: change filename XRSystem.webidl refactor: update crate in navigator refactor: use XRSystem instead of XR in navigator refactor: update Bindings.conf refactor: use XRSystemMethods fix: update assertions for XRSystem fix: update manifest json
* Auto merge of #25773 - Manishearth:input-sources-change, r=jdmbors-servo2020-02-161-1/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Always trigger an input sources change event on session creationManish Goregaokar2020-02-151-1/+3
| |
* | supportsSession() -> isSessionSupported()Manish Goregaokar2020-02-151-5/+6
|/
* rename compartment to realmKunal Mohan2020-01-241-3/+3
|
* Gate reference space creation on requested featuresManish Goregaokar2020-01-211-0/+2
|
* Correctly unset pending flagManish Goregaokar2020-01-211-2/+6
|
* Add support for requesting featuresManish Goregaokar2020-01-211-7/+49
|
* Do not wait for rAF to be requested in render loopManish Goregaokar2019-12-291-5/+11
|
* Allow spawning inline sessions without interactionManish Goregaokar2019-12-111-5/+5
|
* Allow constructing inline sessionsManish Goregaokar2019-12-101-10/+27
|
* Do not allow XR session on non user-activated eventsPaul Rouget2019-09-201-0/+6
|
* Add support for OpenXR hololens backendManish Goregaokar2019-08-121-4/+0
|
* Replace use of callbacks in webxr by channelsAlan Jeffrey2019-07-261-30/+5
|
* Support end events and end()Manish Goregaokar2019-07-221-0/+11
|
* Update xr.requestSession() argumentsManish Goregaokar2019-07-161-6/+7
|
* Remove session deactivationManish Goregaokar2019-07-111-5/+0
|
* Clean up vrdisplay, set active immersive session correctlyManish Goregaokar2019-07-111-2/+3
|
* Hook requestSession() into new XR crateManish Goregaokar2019-07-111-21/+59
|
* Hook supportsSession() into new xr crateManish Goregaokar2019-07-111-6/+60
|
* Auto merge of #23459 - Eijebong:compartments, r=jdmbors-servo2019-06-021-13/+9
|\ | | | | | | | | | | | | | | | | | | | | 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 -->
| * Use the newly added inCompartments option everywhere it can beBastien Orivel2019-05-251-13/+9
| |
* | Add XR.test()Manish Goregaokar2019-05-301-0/+8
|/
* Pass InCompartment by valueAron Zwaan2019-04-251-2/+2
|
* Add proof parameter to Promise::new_in_current_compartmentAron Zwaan2019-04-241-4/+11
|
* Rename Promise::new to Promise::new_in_current_compartmentAron Zwaan2019-04-031-2/+4
|
* Handle erroring out when there are multiple immersive sessionsManish Goregaokar2019-02-191-1/+35
|
* Use async VR presentation code for XRSessionManish Goregaokar2019-01-071-3/+1
|
* Init XR present on XR::RequestSession() with empty contextManish Goregaokar2019-01-071-3/+2
|
* Remove now-unnecessary must_root and allow(unrooted_must_root) annotationsManish Goregaokar2019-01-041-2/+0
|
* Remove unrooted_must_rootManish Goregaokar2019-01-031-1/+0
|
* Add spec linksManish Goregaokar2018-12-221-0/+2
|
* Fill in XR frame/pose/view implementationsManish Goregaokar2018-12-211-2/+3
|
* Simple presentationManish Goregaokar2018-12-201-0/+3
|
* Fill in XR.requestSessionManish Goregaokar2018-12-191-14/+53
|
* Basic XRSession interfaceManish Goregaokar2018-12-191-1/+1
|
* Move VR interface to XRManish Goregaokar2018-12-191-0/+266
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.