Commit Graph

16 Commits

Author SHA1 Message Date
Kearwood Gilbert
b886f0308a Bug 1355654 - VRManager will now wait for 30 seconds of inactivity before releasing VR displays, rather than doing it instantaneously. r=daoshengmu
- This corrects link traversal and improves performance when
  entering and exiting VR very often.

MozReview-Commit-ID: D30NQdnpzMF
2017-04-11 22:12:22 -07:00
Kearwood Gilbert
f4f082d504 Bug 1351048 - Do not load VR libraries until necessary, Oculus cleanup r=daoshengmu
- I have refactored the Oculus and OpenVR interfaces in gfx/vr
  so that initialization of the VR libraries only happens once
  a WebVR site is detected.
- The Oculus interface has been cleaned up and updated to unload the Oculus
  runtime library when not in use.
- The browser can now re-connect to Oculus home if it was restarted, without
  restarting the browser.
- We no longer submit a black frame at the end of VR presentation, as this
  appears to be handled by the latest Oculus runtime automatically.
- As we only hold on to the Oculus runtime when needed, this should
  reduce the likelihood of the GPU process being killed by the Oculus
  software updater.

MozReview-Commit-ID: AyWeD4CxXLD
2017-03-30 09:35:49 -04:00
Daosheng Mu
da4f75a5dd Bug 1299937 - Part 6: Handle Stop vibrating when the window defoucses; r=qdot
MozReview-Commit-ID: Kvd40jnSPvK
2017-03-07 10:17:57 +08:00
Daosheng Mu
aa503d30e7 Bug 1299937 - Part 4: Handling vibrate haptic promise in VRManager; r=qdot
MozReview-Commit-ID: 3KZ8MNx3Dnq
2017-02-02 14:59:44 +08:00
Daosheng Mu
9c398c555a Bug 1299937 - Part 3: Implement haptic pulse for OpenVR controller; r=kip,qdot
MozReview-Commit-ID: TUIbJpyng4
2017-02-02 14:57:58 +08:00
Daosheng Mu
2aefdd67fc Bug 1323328 - Part 4: Delay create VRSystemManagerPuppet for making it only be run for tests; r=kip
MozReview-Commit-ID: 6RxFheaP1sg
2017-03-04 01:27:22 +08:00
Daosheng Mu
08d16c492b Bug 1332989 - Using VRSystemManager to manage vr displays and controllers; r=kip
MozReview-Commit-ID: 7M1ihvCpU9g
2017-01-24 17:49:11 +08:00
Daosheng Mu
0e2cec5f0f Bug 1321505 - Clean VR controllers when nsGlobalWindow no longer uses gamepads; r=kip
MozReview-Commit-ID: IlAa5vDqwAE
2016-12-01 14:16:16 +08:00
Daosheng Mu
924a0c54bd Bug 1299928 - Part 5: Handle gamepad events in Vsync time; r=kip
MozReview-Commit-ID: Ndt3zajkli
2016-10-07 17:00:45 +08:00
Daosheng Mu
c488e04945 Bug 1299928 - Part 4: Implement VRControllerManager; r=kip
MozReview-Commit-ID: 3bItvKV2HB
2016-10-07 16:58:01 +08:00
Kearwood (Kip) Gilbert
e51fa06242 Bug 1306427 - Remove pose parameter from VRDisplay.submitFrame,r=smaug,r=gw280
MozReview-Commit-ID: LZSDm73XrIa
2016-09-30 16:43:24 -07:00
kearwood
cec1492bc8 Bug 1284357 - Part 2: Implement Navigator.activeVRDisplays,r=gw280
- WebVR 1.0 includes a new property added to Navigator,
  activeVRDisplays
- Please apply the patchset in Bug 1250244 first.

MozReview-Commit-ID: 6wffkwvKllW
2016-07-04 15:52:21 -07:00
Kearwood (Kip) Gilbert
429c0c2603 Bug 1250244 - Part 7: Implement WebVR 1.0 API,r=bz
MozReview-Commit-ID: JTOmaWePlJq
2016-02-24 15:54:50 -08:00
Kearwood (Kip) Gilbert
bbfa14d4ea Bug 1250244 - Part 5: Rename VRDevice to VRDisplay,r=bz
- In order to reduce the size of the following patches
  and increase their readability, we rename VRDevice
  to VRDisplay here first.

MozReview-Commit-ID: 3pv8scdIi5w
2016-04-12 17:39:28 -07:00
Jonathan Watt
9c5b8de022 Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
Kearwood (Kip) Gilbert
2773eeacb8 Bug 1182048 - Part 2: Implement e10s support for WebVR,r=vlad 2015-09-17 14:23:13 -07:00