Граф коммитов

34 Коммитов

Автор SHA1 Сообщение Дата
msub2 a21a949d09 Bug 1616390 - Validate that poses may be reported for GetPose and GetViewerPose. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D128847
2021-10-20 16:38:37 +00:00
Simon Giesecke 971b645fe3 Bug 1660470 - Add missing include directives/forward declarations. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D87865
2020-11-23 16:21:38 +00:00
Markus Stange 41c70bcd59 Bug 1666617 - Add an observer description argument to AddRefreshObserver. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D91082
2020-09-25 02:36:29 +00:00
Simon Giesecke 1e6ec7ec86 Bug 1656117 - Reduce include dependencies on nsRefreshDriver.h. r=mstange
The abstract observer base classes are moved to a separate header file
nsRefreshObservers.h and the includes are adjusted accordingly.

Some method implementations are moved to the corresponding implementation files
to avoid the need to include the nsRefreshDriver.h file in the header.

Differential Revision: https://phabricator.services.mozilla.com/D85764
2020-08-04 21:17:50 +00:00
Imanol Fernandez 0c20e550e5 Bug 1655006 - Implement WebXR nativeFramebufferScaleFactor. r=jgilbert,kip,daoshengmu
Clamp the requested XRWebGLLayer framebuffer size to ensure it's not too small to see or larger than the max native resolution.

Differential Revision: https://phabricator.services.mozilla.com/D84799
2020-07-29 10:00:53 +00:00
Imanol Fernandez f17da90522 Bug 1651087 - Check if the session is ended before processing XRSession::StartFrame() r=kip,daoshengmu
Differential Revision: https://phabricator.services.mozilla.com/D82556
2020-07-07 21:52:56 +00:00
Simon Giesecke cd8b8939b9 Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D80860
2020-07-01 08:29:29 +00:00
Imanol Fernandez c0d52e6891 Bug 1647436 - Fix leaked nsGlobalWindowInner instance in WebXR CC r=kip,daoshengmu
Differential Revision: https://phabricator.services.mozilla.com/D80527
2020-06-22 20:26:56 +00:00
Imanol Fernandez 7e6883c730 Bug 1641596 - Apply XRNativeOrigin transform to XRViewerPose base transform r=kip,daoshengmu
We are applying XRNativeOrigin to each view transform from the XRViewerPose but not to the base transform of the XRViewerPose object.

Differential Revision: https://phabricator.services.mozilla.com/D77284
2020-05-28 18:00:15 +00:00
Simon Giesecke e2216fb0bd Bug 1626570 - Improve handling of copying arrays in dom/vr/. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D73667
2020-05-06 11:46:55 +00:00
Imanol Fernandez d5b80b872a Bug 1633725 - Improve WebXR Garbage Collection. Respect XRRigidTransform.inverse and XRView.transform [SameObject] requirements. r=kip,daoshengmu,jgilbert
- Lazily create XRRigidTransform DOMPoints
- Reuse XRRigidTransform inverse (SameObject in the spec)
- Reuse XRView transform (SameObject in the spec)
- Reuse XRWebGLLayer viewport instances
- Pool XRViewerPose instances
- Pool XRFrame instances

Differential Revision: https://phabricator.services.mozilla.com/D73071
2020-05-01 01:42:39 +00:00
Simon Giesecke 2d8c4390b7 Bug 1628715 - Part 15: Replace MOZ_NONNULL_RETURN by returning NotNull<elem_type*>. r=xpcom-reviewers,necko-reviewers,dragana,nika
Differential Revision: https://phabricator.services.mozilla.com/D71300
2020-04-24 13:35:27 +00:00
Imanol Fernandez 025f4b6335 Bug 1630170 - Delete XRWebGLLayer Framebuffer on XRSession presentation end r=kip,jgilbert,daoshengmu
Differential Revision: https://phabricator.services.mozilla.com/D71063

--HG--
extra : moz-landing-system : lando
2020-04-15 21:58:13 +00:00
Daosheng Mu c6c6582108 Bug 1627136 - Implement select and squeeze XRInputSourceEvent. r=kip,smaug
Differential Revision: https://phabricator.services.mozilla.com/D70080

--HG--
extra : moz-landing-system : lando
2020-04-10 01:22:28 +00:00
Kearwood Gilbert 20a905ded8 Bug 1628109 - Ensure that only one non-privileged (non-chrome) XRSession can be presenting at once r=daoshengmu
Differential Revision: https://phabricator.services.mozilla.com/D70270

--HG--
extra : moz-landing-system : lando
2020-04-09 01:22:52 +00:00
Daosheng Mu fdf9039810 Bug 1627141 - Implement XRInputSourcesChangeEvent. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D69483

--HG--
extra : moz-landing-system : lando
2020-04-08 04:39:01 +00:00
Daosheng Mu 0a58c515ed Bug 1626812 - Dispatch XRSessionEvent end when exiting XRSession. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D69296

--HG--
extra : moz-landing-system : lando
2020-04-08 04:38:53 +00:00
Daosheng Mu f2c389fbee Bug 1617023 - Part 2: OpenVR/Oculus controller XR mode. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D67432

--HG--
extra : moz-landing-system : lando
2020-04-08 03:23:47 +00:00
Daosheng Mu 595afe46cc Bug 1617023 - Part 1: Integrating Gamepad with XRInputSource. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D67431

--HG--
extra : moz-landing-system : lando
2020-04-08 03:23:34 +00:00
Stefan Hindli 585cd46052 Backed out 3 changesets (bug 1617023) for causing mass bustages CLOSED TREE
Backed out changeset 2ff0eabe84e9 (bug 1617023)
Backed out changeset 8cadc6705690 (bug 1617023)
Backed out changeset 3a6247b39244 (bug 1617023)
2020-04-08 04:26:40 +03:00
Daosheng Mu 24566d323f Bug 1617023 - Part 2: OpenVR/Oculus controller XR mode. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D67432

--HG--
extra : moz-landing-system : lando
2020-04-07 22:55:39 +00:00
Daosheng Mu 91ad9bdf58 Bug 1617023 - Part 1: Integrating Gamepad with XRInputSource. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D67431

--HG--
extra : moz-landing-system : lando
2020-04-07 22:55:41 +00:00
Daosheng Mu 7f945fd97b Bug 1611310 - Implement XRInputSource module. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D67430

--HG--
extra : moz-landing-system : lando
2020-04-07 23:49:47 +00:00
Stefan Hindli 3b135390cf Backed out changeset 717f97c0d871 (bug 1611310) for causing mass build bustages CLOSED TREE 2020-04-08 01:46:32 +03:00
Stefan Hindli 21c4b1ce50 Backed out 5 changesets (bug 1617023, bug 1627141, bug 1626812) for causing being related to Bug 1611310 CLOSED TREE
Backed out changeset b975de50682b (bug 1627141)
Backed out changeset 481325c44e80 (bug 1626812)
Backed out changeset 546b90fd1689 (bug 1617023)
Backed out changeset f54ac49bbc0a (bug 1617023)
Backed out changeset 1ebf382e7133 (bug 1617023)
2020-04-08 01:45:47 +03:00
Daosheng Mu bc1f3fa9ea Bug 1627141 - Implement XRInputSourcesChangeEvent. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D69483

--HG--
extra : moz-landing-system : lando
2020-04-07 21:26:54 +00:00
Daosheng Mu 7efbfa3c65 Bug 1626812 - Dispatch XRSessionEvent end when exiting XRSession. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D69296

--HG--
extra : moz-landing-system : lando
2020-04-07 21:26:46 +00:00
Daosheng Mu e4b13d6e39 Bug 1617023 - Part 2: OpenVR/Oculus controller XR mode. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D67432

--HG--
extra : moz-landing-system : lando
2020-04-07 21:30:02 +00:00
Daosheng Mu 184166d359 Bug 1617023 - Part 1: Integrating Gamepad with XRInputSource. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D67431

--HG--
extra : moz-landing-system : lando
2020-04-07 22:24:43 +00:00
Daosheng Mu e2b211270f Bug 1611310 - Implement XRInputSource module. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D67430

--HG--
extra : moz-landing-system : lando
2020-04-07 21:26:01 +00:00
Imanol Fernandez 0b49e6e5f3 Bug 1626053 - Implement XR local to local-floor adjustments r=kip,daoshengmu
Differential Revision: https://phabricator.services.mozilla.com/D69013

--HG--
extra : moz-landing-system : lando
2020-04-07 19:30:21 +00:00
Imanol Fernandez 9035f18d3a Bug 1614499 - Implement XRWebGLLayer r=jgilbert,daoshengmu
Differential Revision: https://phabricator.services.mozilla.com/D62809

--HG--
extra : moz-landing-system : lando
2020-04-07 18:48:13 +00:00
Kearwood "Kip" Gilbert 69a59222c1 Bug 1618365 - Populate XRFrame for RAF callback r=imanol
We were only missing some validation as part of the XRFrame initialization.

Rest is already happening in XRSession::StartFrame

Differential Revision: https://phabricator.services.mozilla.com/D64691

--HG--
extra : moz-landing-system : lando
2020-03-23 15:45:48 +00:00
Kearwood Gilbert 9136ce65cf Bug 1614496 - Implement WebXR Core Module DOM Interfaces r=jgilbert,daoshengmu,webidl,smaug,baku,imanol
Implement DOM interfaces for the WebXR Core Module. Additional work to implement the WebXR Core Module are marked with TODO (Bug #) comments within the patch and must be landed before enabling the dom.vr.webxr.enabled flag.

Differential Revision: https://phabricator.services.mozilla.com/D62369

--HG--
extra : moz-landing-system : lando
2020-04-06 19:33:32 +00:00