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

140 Коммитов

Автор SHA1 Сообщение Дата
Daosheng Mu 73147a8a4c Bug 1323328 - Part 4: Delay create VRSystemManagerPuppet for making it only be run for tests; r=kip
MozReview-Commit-ID: 6RxFheaP1sg

--HG--
extra : rebase_source : 6ceccf9068b8d38e94890f5543c512d5b40639bf
2017-03-04 01:27:22 +08:00
Daosheng Mu cfca85c8aa Bug 1323328 - Part 2: Implement VRServiceTest backend at VRManager; r=kip
MozReview-Commit-ID: EpW7BqeICLo

--HG--
extra : rebase_source : 6274d1ed704b6dae7b06a71e357b189c97cfbde3
2017-03-01 23:58:31 +08:00
Kearwood Gilbert 5912cbf416 Bug 1293793 - Ensure VRFrameData.timestamp is a monotonically increasing value r=daoshengmu
- Oculus and OSVR VRFrameData.timestamp values were already returning correct
  timestamps using their respective API's timestamp functions.
- OpenVR is now using timestamp values returned by the OpenVR API.
- A pseudo-random base for VRFrameData.timestamp has been implemented
  in order to avoid leaking details related to how long the user has
  been using their VR headset before hitting a page.
- More details on timestamp base within code comments...

MozReview-Commit-ID: 7VdiRn7l8Rb

--HG--
extra : rebase_source : cde5bc9de07cd120294ccd4ef502af030da9d03c
2017-03-03 15:17:19 -08:00
Daniel Holbert 95a650ec1b Bug 1343975: Get rid of all dos/windows linebreaks in Mozilla C++ code. r=ehsan
This is an automated patch, generated by the following command:
find . -name "*.h" -exec fromdos {} \; && \
  find . -name "*.cpp" -exec fromdos {} \; && \
  hg revert -C gfx/angle \
               gfx/sfntly \
               media/webrtc \
               media/libstagefright \
               media/openmax_il \
               other-licenses

MozReview-Commit-ID: Gunlz3vE3h6
2017-03-02 13:08:29 -08:00
Daosheng Mu 83f1b993be Bug 1229480: Implement Puppet VR Device; r=kip
MozReview-Commit-ID: hslhADrGs5

--HG--
extra : rebase_source : 8a0ead8f99f71fe36da428a4d4ead91d3ea02624
2017-03-02 00:04:12 +08:00
Daosheng Mu 7fc9ef1cd2 Bug 1341516 - Fix Oculus Touch ID and poseState; r=kip
MozReview-Commit-ID: 9FoLcQmgxjg

--HG--
extra : rebase_source : 7409024133b242063644d1bc705e8f91c09e0b7b
2017-02-22 12:13:30 +08:00
Kearwood Gilbert 9d394c09bb Bug 1335606 - Add 'display' value to Navigator.vrdisplayconnect, Navigator.vrdisplaydisconnect, and Navigator.vrdisplaypresentchange events r=smaug
MozReview-Commit-ID: FLZ7u98mqqi

--HG--
extra : rebase_source : dd783f3c085efc50c4114ea45ac3f695670079fd
2017-02-14 11:21:09 -08:00
Daosheng Mu 03928f06a9 Bug 1305891 - Part 3: Replace GetIndex() with the index from mOculusController; r=kip
MozReview-Commit-ID: HHdzsxg5voi

--HG--
extra : rebase_source : 350f27bf7b1f27411585137f3b89b808d4680603
2017-02-13 11:19:31 +08:00
Daosheng Mu 4bcfff5f8b Bug 1305891 - Part 2: Accept GamepadHand as the parameter when VRControllerHost constructs; r=kip
MozReview-Commit-ID: IYscauVw8iE

--HG--
extra : rebase_source : f11f9ec7d486f41917d687009ba1b47c933a68ba
2017-02-13 11:18:11 +08:00
Daosheng Mu 06d6a52263 Bug 1305891 - Part 1: Support Oculus Touch orientation and position tracking; r=kip
MozReview-Commit-ID: JQr6gzF06k7

--HG--
extra : rebase_source : f8958961499153ee57b9f6595bfb755327dea35c
2017-02-02 17:57:39 +08:00
Daosheng Mu 585f71980a Bug 1305890 - Part 3: Change OpenVR and Oculus Touch gamepad id; r=kip
MozReview-Commit-ID: Igp2mmlI5sW

--HG--
extra : rebase_source : 3c1992f62088b18ad69a8d267f9e101a74841069
2017-02-10 15:13:44 +08:00
Daosheng Mu 6921030384 Bug 1305890 - Part 2: Oculus Touch axis move support; r=kip
MozReview-Commit-ID: 9lKdv0rI1z7

--HG--
extra : rebase_source : e92a15c9dfda19bb8d11b3993470cd249b571be4
2017-01-04 15:40:00 +08:00
Daosheng Mu 32f7b8390b Bug 1305890 - Part 1: Oculus Touch button inputs support; r=kip
MozReview-Commit-ID: CJmSW00e8Ov

--HG--
extra : rebase_source : f27abcda43cd3c02eb7f31cece07ef7ad26899d9
2017-01-04 11:30:49 +08:00
Daosheng Mu ea40b47f3e Bug 1305889 - Part 3: Enumerate Oculus Touch Controllers; r=kip
MozReview-Commit-ID: Ep57r4hxrRt

--HG--
extra : rebase_source : 289293f7573770e1fbc81b6a8820dfa11b124899
2017-02-06 16:13:33 +08:00
Daosheng Mu 3e9c86df65 Bug 1305889 - Part 2: Using VRControllerInfo as the parameter for AddGamepad; r=kip
MozReview-Commit-ID: Coye62hZxRs

--HG--
extra : rebase_source : d4166395794a55c565f37b803099682c9e075d8b
2017-02-06 16:12:52 +08:00
Daosheng Mu 8a2e76ec84 Bug 1305889 - Part 1: Move GamepadHand API to VRControllerHost; r=kip
MozReview-Commit-ID: 5Wi8p0hvgWf

--HG--
extra : rebase_source : 3c01e0876ffe8c84a7dc97f08647dacd0f6de08b
2017-02-06 16:07:20 +08:00
JerryShih a02136ffc6 Bug 1336362 - Remove PCompositable, PLayer and PImageContainer related def. r=dvander
MozReview-Commit-ID: IzxHU1SRh2t
2017-02-03 01:06:00 -05:00
Daosheng Mu 6553b776c4 Bug 1336287 - Checking OpenVR system is not null before HandleInput(); r=kip
MozReview-Commit-ID: 6J7rO3JXrrr

--HG--
extra : rebase_source : f2c3f628d035bc47536598a144e129304e484531
2017-02-03 10:15:02 +08:00
Kearwood (Kip) Gilbert 8dc97eb398 Bug 1293333 - Part 1: Implement window.onvrdisplayactivate and window.onvrdisplaydeactivate events r=daoshengmu,Ehsan
MozReview-Commit-ID: 746L5KObBcg

--HG--
extra : rebase_source : 3efa9171be4ec2aa6dc12bd4651e197571cf33c6
2016-10-18 18:18:10 -04:00
Daosheng Mu fe796ebb0a Bug 1334977 - Checking mVRSystem is not nullptr before scannibg OpenVR controllers; r=kip
MozReview-Commit-ID: 6ViJqGp82t2

--HG--
extra : rebase_source : 7d9575309b6566c9f3e6d98ab13597b5c77f81b9
2017-01-30 17:37:16 +08:00
Daosheng Mu 286c9429c0 Bug 1334310 - Checking OpenVR system is initialized before scanning controllers; r=gw280
MozReview-Commit-ID: abv5Rb20No

--HG--
extra : rebase_source : 0325b90588effceec267e007954238f3a34fbfe4
2017-01-27 11:52:04 +08:00
Daosheng Mu 658e2d193c Bug 1332989 - Using VRSystemManager to manage vr displays and controllers; r=kip
MozReview-Commit-ID: 7M1ihvCpU9g

--HG--
extra : rebase_source : aba82b0aa8ab67860418a39dd0eaa21ea18e563e
2017-01-24 17:49:11 +08:00
Xidorn Quan a8e64a94e1 Bug 1298756 - Use uint8_t/uint16_t as underlying type for enums from webidl. r=bz
MozReview-Commit-ID: 3uS9s5ZrPFd

--HG--
extra : rebase_source : ff64b4468ee99ba08fd8638298a27711b7fb6393
2017-01-12 12:23:37 +11:00
Kearwood Gilbert ed4e25824a Bug 1325810 - Reduce unneeded IPC when WebVR is not active r=daoshengmu
MozReview-Commit-ID: DBCtiC2zzHf

--HG--
extra : rebase_source : 3c996750c4a36100bedce7af4a60f025e7c46b19
2017-01-06 16:28:45 -08:00
Daosheng Mu dbdc492881 Bug 1305873 - Upgrade Oculus SDK to 1.10.1; r=kip
MozReview-Commit-ID: 9eu2G2elvYM

--HG--
extra : rebase_source : d9afdc3cb01ac8974c5ee8eb151472bf1a1ee563
2017-01-03 17:01:49 +08:00
David Anderson 504484a456 Remove PLayer. (bug 1323539 part 2, r=mattwoodrow) 2016-12-21 10:43:47 -05:00
Daosheng Mu 370aa4a0c8 Bug 1315896 - Part 3: Remove MOZ_GAMEPAD in VR module; r=kip
MozReview-Commit-ID: I9vJvxgFgIh

--HG--
extra : rebase_source : 270e971ace44b00d9877a67f68f349bbd9b550c1
2016-12-08 13:01:11 -10:00
Daosheng Mu 8385c9beb5 Bug 1323088 - OpenVR controller manager should not be created while loading runtime fail; r=kip
MozReview-Commit-ID: 6gM9r1Y4MkG

--HG--
extra : rebase_source : dbda834a119023c90a791267edeeac322569cd1d
2016-12-13 13:56:58 +08:00
Andrew McCreight fccb0645ed Bug 1323042 - forbid MOZ_COUNT_{CTOR,DTOR} for nsISupports classes; r=froydnj 2016-12-12 09:27:58 -05:00
Nathan Froyd 826598caba Backout aba6c73511a2 (bug 1307961) for massive test bustage resulting in a CLOSED TREE; r=alltheorange 2016-12-12 08:45:46 -05:00
Andrew McCreight e31b5489da Bug 1307961 - require consistent bloatview reporting for nsISupports classes; r=froydnj 2016-12-12 07:58:33 -05:00
Daosheng Mu 01da49789d Bug 1313581 - Part 3: Support hand attribute for OpenVR controllers; r=gw280
MozReview-Commit-ID: Ek91HPwsqVP

--HG--
extra : rebase_source : c522b718d0328c89d6e22f93d180f69f3719fa7e
2016-11-14 17:35:54 +08:00
Daosheng Mu 9f9b153369 Bug 1321505 - Clean VR controllers when nsGlobalWindow no longer uses gamepads; r=kip
MozReview-Commit-ID: IlAa5vDqwAE

--HG--
extra : rebase_source : 42e444083e2d43334147fb945643d12c4403af34
2016-12-01 14:16:16 +08:00
Daosheng Mu a766482389 Bug 1315718 - Replace mGamepadManager raw pointer with RefPtr in VRManagerChild. r=smaug, kip, dmu
MozReview-Commit-ID: HOqQm2F6Dpn
---
 dom/gamepad/GamepadManager.cpp |  1 -
 gfx/vr/ipc/VRManagerChild.cpp  | 18 ++++++------------
 gfx/vr/ipc/VRManagerChild.h    |  4 ----
 gfx/vr/ipc/VRManagerParent.cpp | 21 +++++++++++++++++----
 gfx/vr/ipc/VRManagerParent.h   |  4 +++-
 5 files changed, 26 insertions(+), 22 deletions(-)

--HG--
extra : amend_source : 4a687f8cbe12d88da3c88e0dba859331806fc6ff
2016-12-01 13:12:10 +08:00
Kearwood Gilbert 9a9f2caf59 Bug 1318468 - Update VR controller inputs on every VR Vsync rather than every 2D vsync r=daoshengmu
MozReview-Commit-ID: ICuIw4e56VC

--HG--
extra : rebase_source : 7875403f10f20c2467bdb51de20ff72456f9cc2a
2016-11-30 14:24:29 -08:00
Daosheng Mu 9fb4892439 Bug 1316279 - Part 1: Fix gfxPrefs support for WebVR in out-of-process compositing; r=kip
MozReview-Commit-ID: 13tPgT0uDDi

--HG--
extra : rebase_source : 76de1955e928a5102d7d23b4baf2a3070309afd6
2016-11-23 09:40:54 +08:00
Daosheng Mu bdd87656ea Bug 1320343 - Avoid to set Preference in the GPU process; r=kip
MozReview-Commit-ID: I73foOQh7L0

--HG--
extra : rebase_source : 69498fba6ec435bfce9e8fb55ba56ee64cb2729c
2016-11-26 23:06:34 +08:00
Daosheng Mu 9d690f01a2 Bug 1320633 - Refresh for new controllers coming in gfxVROpenVR; r=kip
MozReview-Commit-ID: Lpvawepnk0u

--HG--
extra : rebase_source : 76fc6937f28c21d597216a5f4ef27095fd66fc5e
2016-11-28 16:57:58 +08:00
Kearwood (Kip) Gilbert 53f4153710 Bug 1315543 - Eliminate UAF in Navigator::NotifyVRDisplaysUpdated,r=dmu 2016-11-24 11:50:43 -08:00
Daosheng Mu ab1fbc2684 Bug 1318586 - Adjust OpenVR controller button mapping to be consistency; r=kip
MozReview-Commit-ID: 6ODcMjqYQNP

--HG--
extra : rebase_source : 71a34032d866f373eac2396e80f3ed4ce12f963a
2016-11-18 16:36:51 +08:00
Kan-Ru Chen f8100451db Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm
We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.

MozReview-Commit-ID: AzVbApxFGZ0
2016-11-15 04:26:00 +01:00
Daosheng Mu 4d84c1a5cc Bug 1299932 - Part 3: Handle OpenVR controller position and orientation; r=kip
MozReview-Commit-ID: FyneJ5JfeNE

--HG--
extra : rebase_source : afd91ee94416285441397e6f51d6031c40fa5513
2016-10-24 18:09:11 +08:00
Carsten "Tomcat" Book 846adaea6c merge mozilla-inbound to mozilla-central a=merge 2016-11-09 16:38:04 +01:00
Daosheng Mu ba525e3bc3 Bug 1310904 - Part 2: Solving non MOZ_GAMEPAD case in VR; r=gw280
MozReview-Commit-ID: mOoSWGQawI

--HG--
extra : rebase_source : 4171659ed182e243e88b276ec56f5d5829593d56
2016-11-04 15:53:01 +08:00
Daosheng Mu 954b7fbf40 Bug 1315636 - Hanlde OpenVR controller button release; r=gw280
MozReview-Commit-ID: 9ihcXugQn2r

--HG--
extra : rebase_source : 07db2d3d11fe3a42bf5a3f625f2b5f7728017ea1
2016-11-08 08:15:01 +08:00
Wes Kocher db15df3e50 Merge m-c to inbound, a=merge CLOSED TREE 2016-11-04 15:19:49 -07:00
Matt Woodrow 4f998dbe2b Bug 1300676 - Part 1: Allow asynchronous deletion of Shmem for VideoDecoderManagerChild. r=dvander 2016-11-04 13:28:28 +13:00
Daosheng Mu ebd920cbdb Bug 1313585 - Part 2: Removing the existing gamepads before scanning VR controllers; r=gw280
MozReview-Commit-ID: 24a4tRoYX8f

--HG--
extra : rebase_source : fa48d7214fb2b4d1a891b201dac7c178374ac91a
2016-10-28 16:00:12 +08:00
Bill McCloskey b47737ed9f Bug 792652 - Move FatalError to IProtocol (r=dvander)
This patch moves FatalError to IProtocol. I had to make a few changes.
- I added a ProtocolName() method to find the name of the protocol.
- I gave the two-argument version of FatalError its own name. Otherwise
  C++ doesn't like there to be two virtual methods with the same name
  in cases where one is overridden and the other isn't (as happens
  in IToplevelProtocol).
2016-11-08 15:22:45 -08:00
Wes Kocher 4b3d16605a Backed out 18 changesets (bug 792652) for build bustage on linux64 a=backout CLOSED TREE
Backed out changeset 90eaf6aec002 (bug 792652)
Backed out changeset ddd915ab4a48 (bug 792652)
Backed out changeset 95eff6c45cae (bug 792652)
Backed out changeset 75855b5a9ab9 (bug 792652)
Backed out changeset b658ebaad5d7 (bug 792652)
Backed out changeset 2ba36b8ac60c (bug 792652)
Backed out changeset 94fcd3bf3f34 (bug 792652)
Backed out changeset cf9c4164eb43 (bug 792652)
Backed out changeset 59e6d0a4f35b (bug 792652)
Backed out changeset bdf86b8b9c43 (bug 792652)
Backed out changeset 8edf4b247250 (bug 792652)
Backed out changeset 63a3c8e4016e (bug 792652)
Backed out changeset e3e496eab991 (bug 792652)
Backed out changeset 5a1e3136323a (bug 792652)
Backed out changeset dbbe3a8c00e7 (bug 792652)
Backed out changeset 1829d5358808 (bug 792652)
Backed out changeset 004cd692ba6d (bug 792652)
Backed out changeset 92e7fee81fa2 (bug 792652)
2016-11-08 12:05:28 -08:00