Kearwood Gilbert
90a295c55d
Bug 1641615 - xr.requestSession now checks for transient user activation rather than just user input. r=daoshengmu,edgar,imanol
...
Differential Revision: https://phabricator.services.mozilla.com/D77558
2020-06-02 19:55:45 +00:00
Imanol Fernandez
af94e32736
Bug 1641593 - Apply sensor orientation in XRNativeOriginViewer reference space r=kip,daoshengmu
...
Differential Revision: https://phabricator.services.mozilla.com/D77283
2020-05-28 18:04:14 +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
Daosheng Mu
b3c826b17b
Bug 1636921 - Calling SetCapacity for a FallibleTArray in XRInputSourceArray. r=sg,kip
...
Differential Revision: https://phabricator.services.mozilla.com/D74722
2020-05-13 22:13:52 +00:00
Sylvestre Ledru
1929dd1ab3
Bug 1519636 - Reformat recent changes to the Google coding style r=andi
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D73347
2020-05-09 14:51:53 +00:00
Daosheng Mu
7cd1c17fba
Bug 1634491 - Return addref object from XRFrame::GetPose(). r=kip,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D73761
2020-05-06 14:45:52 +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
Daosheng Mu
590cd39d32
Bug 1635363 - Invert orientation after matrix.decompose from XRRigidTransform. r=kip,imanol
...
Differential Revision: https://phabricator.services.mozilla.com/D73798
2020-05-05 23:46:19 +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
Sylvestre Ledru
34acbb653a
Bug 1619165 - Reformat recent changes to the Google coding style r=andi
...
First reformat with clang-format 10
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D68802
2020-04-25 09:40:08 +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
Simon Giesecke
c0341c3791
Bug 1628715 - Part 10: Activate nodiscard attributes on AppendElement(s). r=xpcom-reviewers,nika,peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D70834
2020-04-24 14:34:15 +00:00
Daosheng Mu
7edcf8ac3b
Bug 1628919 - Emit XRInputSourceEvent selectend event If a controller is disconnected. r=kip
...
Differential Revision: https://phabricator.services.mozilla.com/D72248
2020-04-24 02:02:39 +00:00
Daosheng Mu
2b669b7fa8
Bug 1631635 - Implement IsPositionEmulated for XRInputSource. r=kip,imanol
...
Differential Revision: https://phabricator.services.mozilla.com/D71678
2020-04-21 11:17:34 +00:00
Imanol Fernandez
355194cd42
Bug 1631113 - Do not check the position cap to assign local floor height r=kip,daoshengmu
...
Differential Revision: https://phabricator.services.mozilla.com/D71409
2020-04-17 22:16:10 +00:00
Daosheng Mu
ece4eed6d3
Bug 1631067 - Fixes a typo of Pico Neo 2 controller profile name. r=kip
...
Differential Revision: https://phabricator.services.mozilla.com/D71391
2020-04-17 20:27:46 +00:00
Daosheng Mu
a27bacb080
Bug 1630440 - Handle select and squeeze events when a VR controller's button only has pressed and unpressed. r=kip
...
Differential Revision: https://phabricator.services.mozilla.com/D71113
--HG--
extra : moz-landing-system : lando
2020-04-16 01:02:45 +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
Imanol Fernandez
c3114c1c70
Bug 1630007 - Apply XRSpace effective origin position and orientation using matrix multiplication. r=kip,daoshengmu
...
Differential Revision: https://phabricator.services.mozilla.com/D70923
--HG--
extra : moz-landing-system : lando
2020-04-15 22:05:26 +00:00
Daosheng Mu
eaec8a64c7
Bug 1630159 - Revert Oculus Quest and Focus Plus controller matrix to match WebVR. r=kip
...
Differential Revision: https://phabricator.services.mozilla.com/D70979
--HG--
extra : moz-landing-system : lando
2020-04-15 21:56:50 +00:00
Imanol Fernandez
3f977ef73a
Bug 1627331 - Do not dispatch WebVR events when the display is used via WebXR API r=kip,daoshengmu
...
Differential Revision: https://phabricator.services.mozilla.com/D69613
--HG--
extra : moz-landing-system : lando
2020-04-07 20:37:00 +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
e608134c4a
Bug 1611526 - Support WebXR bounded reference spaces r=kip,daoshengmu
...
Differential Revision: https://phabricator.services.mozilla.com/D69050
--HG--
extra : moz-landing-system : lando
2020-04-02 15:11:18 +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
Imanol Fernandez
e5f06da9f7
Bug 1616835 - Implement eye orientation component of rigid transform r=kip
...
Depends on D62369
Differential Revision: https://phabricator.services.mozilla.com/D63476
--HG--
extra : moz-landing-system : lando
2020-04-02 15:18:35 +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
Simon Giesecke
9b26b84231
Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/vr. r=smaug
...
Depends on D65184
Differential Revision: https://phabricator.services.mozilla.com/D65185
--HG--
extra : moz-landing-system : lando
2020-03-04 09:07:32 +00:00
Andrew Halberstadt
4d752c4ca7
Bug 1616368 - [reftest] Replace 'default-preferences' with 'defaults' r=dbaron
...
With the new 'defaults' key being added, 'default-preferences' is now
redundant. This commit converts all existing uses of 'default-preferences' to
use 'defaults' instead.
Differential Revision: https://phabricator.services.mozilla.com/D63247
--HG--
extra : moz-landing-system : lando
2020-02-20 18:47:54 +00:00
Edgar Chen
9e846bd48a
bug 1610296
- Rename TypedArray_base::ComputeLengthAndData to TypedArray_base::ComputeState; r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D60514
--HG--
extra : moz-landing-system : lando
2020-01-23 03:22:06 +00:00
Nazım Can Altınova
d8afe0647a
Bug 1609708 - Rename PROFILER_TRACING to PROFILER_TRACING_MARKER. r=gerald
...
Depends on D60229
Differential Revision: https://phabricator.services.mozilla.com/D60231
--HG--
extra : moz-landing-system : lando
2020-01-17 21:29:15 +00:00
Kearwood "Kip" Gilbert
b3787eec77
Bug 1603825 - Suppress the VR permission UI when no VR runtimes are detected r=daoshengmu,bzbarsky
...
This patch suppresses VR device access permission prompts for users that do not have any VR runtimes installed.
We could not depend on the existing VR device enumeration functions to suppress the permission prompts, as the
act of enumerating VR devices will result in some hardware physically powering on and software starting up (and staying running)
in the background.
This patch includes logic to spawn the VR process with an additional flag indicating that it should attempt only to detect the
runtimes, without proceeding to enumerate and activate hardware and software.
VRManager now includes an enum to more clearly organize it's state machine model, which now must ensure that the runtime detection
happens on-demand when the VR session support capabilities are first determined.
There is a new pref to disable the suppression of permission prompts for use within permission UI tests on machines without VR runtimes.
Renamed some variables and added comments to make code in nsGlobalWindowInner and Navigator clearer and better represent the updated logic -- to allow the separate detection of VR runtimes and VR session activation. Both the runtime detection and VR
session activity uses VREventObserver to send events to nsGlobalWindowInner.
Differential Revision: https://phabricator.services.mozilla.com/D57568
--HG--
extra : moz-landing-system : lando
2020-01-03 22:47:26 +00:00
Kearwood Kip Gilbert
19ba3b0322
Bug 1580567 - Implement XR device access permission UI r=fluent-reviewers,bzbarsky,pbz,daoshengmu,imanol
...
Added @rbarker as a reviewer to check if this will work well within GeckoView for FxR / Android.
Added @bzbarsky for test_interfaces.html. -- I'd like to re-land the secure origin requirement for WebVR as part of this patch, as it doesn't help to have UI that can't guarantee the identity of the origin. (This was backed out due to test failures originally, and since been fixed)
Differential Revision: https://phabricator.services.mozilla.com/D45951
--HG--
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_geoprompt.js => browser/components/privatebrowsing/test/browser/browser_privatebrowsing_rememberprompt.js
extra : moz-landing-system : lando
2019-12-12 03:10:51 +00:00