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

208 Коммитов

Автор SHA1 Сообщение Дата
Jan Beich 28f774243d Bug 1375693 - Don't build OpenVR on Tier3 due to lack of open source runtime. r=kip
MozReview-Commit-ID: 6GYN5xRSZ2D

--HG--
extra : rebase_source : aea410a33baeef0f2e3ba99b9f27c3cc07f7365c
2017-06-23 04:02:12 +00:00
Kearwood "Kip" Gilbert bd0b85959b Bug 1371845 - Update OpenVR SDK to 1.0.8 r=daoshengmu
MozReview-Commit-ID: 4Tsuo4AgobU

--HG--
extra : rebase_source : 1eed72f0b2049ecf1cf54144fc374eb5b440516f
2017-06-19 15:41:27 -07:00
Daosheng Mu 355cf89806 Bug 1371228 - Handling SteamVR process quit events to avoid crashes; r=kip
MozReview-Commit-ID: DBkzz06pRSu

--HG--
extra : rebase_source : 95831f0c3454bf758fa537900dbddbf4024e13dd
2017-06-22 14:32:18 +08:00
Kearwood "Kip" Gilbert 50c0fb8b90 Bug 1375060 - Update Oculus headers to match requested API version. r=daoshengmu
MozReview-Commit-ID: KADOmlLm674

--HG--
extra : rebase_source : 60c976400ef1c0d7fc3c97fe5aa0b1e805c644b1
2017-06-21 15:42:10 -07:00
Kearwood Gilbert 391d83ccbc Bug 1374393 - Build OpenVR on macOS and Linux r=daoshengmu
- OpenVR was previously only being built for Windows builds
  it will now be built additionally on macOS and Linux.

MozReview-Commit-ID: 68ZUNmdybd1

--HG--
extra : rebase_source : 329c85c866f7c1c95566f77ccddb92c348563e4d
2017-05-31 11:14:55 -07:00
Kearwood Gilbert a679f93781 Bug 1352446 - Fix 32-bit build crash with Oculus VR r=daoshengmu
- Validate GetSharedResourceView in VRDisplayOculus::SubmitFrame and VRDisplayPuppet::SubmitFrame
- Correct size of frameIndex to be "long long" rather than "int" for
  ovr_GetPredictedDisplayTime
- Updated to Oculus 1.15.0 SDK
- Now sending absolute timestamp of the predicted frame time
  to ovr_GetTrackingState rather than a delta

MozReview-Commit-ID: GLSkqwae7Jp

--HG--
extra : rebase_source : 80a051c4af9e2241fe971fc2763015b5f3d18f7c
2017-06-08 14:03:26 -07:00
Daosheng Mu a6cdb3aeb0 Bug 1368990 - Add reftest for verifying onVRPresentChange; r=kip
MozReview-Commit-ID: I8cce1eYQV8

--HG--
extra : rebase_source : ff04f5cefeb446f8730f570bdea804b341d1e947
2017-06-07 17:05:04 +08:00
Kearwood Gilbert eb3becc0b0 Bug 1362213 - Implement chrome-only API to manage VR sessions r=daoshengmu,kanru,smaug
- Added new chrome-only webidl methods to be used by browser UI and WebExtensions
- Implemented bitmasked group visibility for VR sessions to enable switching
  between chrome and regular content presentations.
- Implemented throttling mechanism to avoid runaway, unthrottled render loops
  for VR sessions that are hidden by group visibility bitmasks or due to
  lower level platform VR events, such as during the Oculus
  "Health and Safety Warning".
- Simplified the PVRManager IPC protocol while extending it to support
  VR session groups and later WebVR content performance profiling API's.
- Removed the last WebVR related sync IPC call.


MozReview-Commit-ID: BMEIPyYeEbq

--HG--
extra : rebase_source : 47d3682cad3d913504175b7d4c3e9d992236f097
2017-05-08 16:01:36 -07:00
Tom Ritter 88a2234bd4 Bug 1363173 Update OpenVR to build with MinGW r=kip
This involved four commits:
- Windows.h -> windows.h and similar https://github.com/ValveSoftware/openvr/pull/508
- Add a void* cast for a farproc auto-conversion https://github.com/ValveSoftware/openvr/pull/509
- Add share.h https://github.com/ValveSoftware/openvr/pull/510
- Use GCC Variadic Macros https://github.com/ValveSoftware/openvr/pull/511

MozReview-Commit-ID: KC7Z3r8qSUY

--HG--
extra : rebase_source : 747b14607d2acad92672085e390b8dd6d4678a46
2017-05-08 15:29:43 -05:00
Daosheng Mu a839377259 Bug 1343730 - Part 1: Support submitFrame and encode the frame as a base64 image in VRPuppet; r=kip
MozReview-Commit-ID: jHKHSoNo6X

--HG--
extra : rebase_source : df5050a488e19af81ebd240c5fb5fdfd30b46907
2017-05-23 16:55:30 +08:00
David Anderson 8894231cd7 Rewrite genshaders.sh as a Python script that uses a manifest. (bug 1365859 part 1, r=bas)
--HG--
extra : rebase_source : a5b60ab1c5531c7e911fc6c6e522d4e7b8cc2497
2017-05-19 12:32:13 -07:00
Daosheng Mu f8427acdf3 Bug 1364856 - When VRLayerChild receives __delete__, stop sending IPC messages; r=kip
MozReview-Commit-ID: 2vKdzipaga0

--HG--
extra : rebase_source : 56d586b5a82a68aa99ff53dba309cc4a9ea476ed
2017-05-15 18:55:42 +08:00
Kevin Chen aa4fe616d0 Bug 1343754 - Add a function for replacing event target for actor and label PTexture; r=bevistseng,billm,nical
MozReview-Commit-ID: KGVBWsexkqC

--HG--
extra : rebase_source : 2ae5e2aa2e54cb2c368310ebdb1fdcbcae3092f4
2017-03-21 03:57:56 +00:00
Daosheng Mu 6a807270be Bug 1321275 - Confirm VRLayerChild is not destroyed before sending destroy message to the parent side; r=kip
MozReview-Commit-ID: v0awwplOQv

--HG--
extra : rebase_source : 3a15b5249ea03e0d64a6229d55d6d418d9b8076f
2017-05-03 18:43:39 +08:00
Sebastian Hengst 0d8a182804 Backed out changeset 25f2e9e2068d (bug 1343754) for crashing e.g. in dom/workers/test/serviceworkers/test_fetch_integrity.html. r=backout 2017-05-03 12:59:36 +02:00
Kevin Chen bdb02a828a Bug 1343754 - Add a function for replacing event target for actor and label PTexture; r=bevistseng,billm,nical
MozReview-Commit-ID: KGVBWsexkqC

--HG--
extra : rebase_source : 5ac2edced51462fd013f0efba0e434d6a2fc7863
2017-03-21 03:57:56 +00:00
Wes Kocher be34ade6b6 Merge autoland to central, a=merge
MozReview-Commit-ID: 2pgVZdnDKno
2017-04-27 12:44:03 -07:00
Kartikaya Gupta e37b4e9289 Merge m-c to graphics
MozReview-Commit-ID: 6UBB4TW6an5
2017-04-27 09:31:17 -04:00
Phil Ringnalda 7e834ae6b6 Backed out 2 changesets (bug 1355648) for failures in test_gamepad_extensions.html
CLOSED TREE

Backed out changeset 1a675abcc1f0 (bug 1355648)
Backed out changeset f07c7d6ddb8d (bug 1355648)

MozReview-Commit-ID: 86HfzOsNVjZ
2017-04-25 20:31:16 -07:00
Kartikaya Gupta c896803771 Merge m-c to graphics
MozReview-Commit-ID: 3s6ISsQ3jG9
2017-04-24 09:17:28 -04:00
Kartikaya Gupta 2e1380aecf Merge m-c to graphics
MozReview-Commit-ID: 5zsIClrx1FB
2017-04-21 10:01:47 -04:00
sotaro e39bdc681a Bug 1356944 - Fix external image id allocation of WebRenderTextureHost r=nical 2017-04-20 10:24:13 +09:00
Daosheng Mu ebac06bc22 Bug 1356421 - Part 2: Notify GamepadManager when controllers are removed in VR manager; r=kip
MozReview-Commit-ID: Hje9NTF4xxz

--HG--
extra : rebase_source : 677995c6d5407202d493fa78528d397b404353c1
2017-04-24 13:42:59 +08:00
Daosheng Mu 86f4cbf921 Bug 1356421 - Part 1: Fix for making OpenVR get correct device types for Gamepad id; r=kip
MozReview-Commit-ID: KI25bjqKTTL

--HG--
extra : rebase_source : 6d20651b1e94ab1f69959d22fc03c18c9d756e84
2017-04-24 13:40:30 +08:00
Daosheng Mu ed7c303369 Bug 1358725 - Return zero after OpenVR controllers' axis is released; r=kip
MozReview-Commit-ID: Le4en6pUUTQ

--HG--
extra : rebase_source : 2e3a571b88b7127f684b79001336e0b897fa2a21
2017-04-24 18:52:06 +08:00
Daosheng Mu 5d5fc39364 Bug 1355648 - Part 1: Check VR controllers if losing tracking; r=kip
MozReview-Commit-ID: B8DaBmz1mJo

--HG--
extra : rebase_source : e0d416075a2b045d96335f9c271c014bd463e552
2017-04-21 18:14:42 +08:00
Kearwood Gilbert c944eed13a Bug 1356387 - Add constructor to VRHMDSensorState
- Also removed some now redundant calls to VRHMDSensorState::Clear()


MozReview-Commit-ID: Kkbvkn3XAP4

--HG--
extra : rebase_source : 0daecf8ad2f4baa8f3d199c65dc7c0cbeb4aceae
2017-04-17 12:15:38 -07:00
Kearwood Gilbert eba3a06d5f Bug 1356382 - Move jsoncpp library and ensure it is included even when crashreporter is not r=ted
MozReview-Commit-ID: 2g9sFP6QQCU

--HG--
rename : toolkit/crashreporter/jsoncpp/AUTHORS => toolkit/components/jsoncpp/AUTHORS
rename : toolkit/crashreporter/jsoncpp/GIT-INFO => toolkit/components/jsoncpp/GIT-INFO
rename : toolkit/crashreporter/jsoncpp/LICENSE => toolkit/components/jsoncpp/LICENSE
rename : toolkit/crashreporter/jsoncpp/NEWS.txt => toolkit/components/jsoncpp/NEWS.txt
rename : toolkit/crashreporter/jsoncpp/README.md => toolkit/components/jsoncpp/README.md
rename : toolkit/crashreporter/jsoncpp/include/json/allocator.h => toolkit/components/jsoncpp/include/json/allocator.h
rename : toolkit/crashreporter/jsoncpp/include/json/assertions.h => toolkit/components/jsoncpp/include/json/assertions.h
rename : toolkit/crashreporter/jsoncpp/include/json/autolink.h => toolkit/components/jsoncpp/include/json/autolink.h
rename : toolkit/crashreporter/jsoncpp/include/json/config.h => toolkit/components/jsoncpp/include/json/config.h
rename : toolkit/crashreporter/jsoncpp/include/json/features.h => toolkit/components/jsoncpp/include/json/features.h
rename : toolkit/crashreporter/jsoncpp/include/json/forwards.h => toolkit/components/jsoncpp/include/json/forwards.h
rename : toolkit/crashreporter/jsoncpp/include/json/json.h => toolkit/components/jsoncpp/include/json/json.h
rename : toolkit/crashreporter/jsoncpp/include/json/reader.h => toolkit/components/jsoncpp/include/json/reader.h
rename : toolkit/crashreporter/jsoncpp/include/json/value.h => toolkit/components/jsoncpp/include/json/value.h
rename : toolkit/crashreporter/jsoncpp/include/json/version.h => toolkit/components/jsoncpp/include/json/version.h
rename : toolkit/crashreporter/jsoncpp/include/json/writer.h => toolkit/components/jsoncpp/include/json/writer.h
rename : toolkit/crashreporter/jsoncpp/src/lib_json/json_reader.cpp => toolkit/components/jsoncpp/src/lib_json/json_reader.cpp
rename : toolkit/crashreporter/jsoncpp/src/lib_json/json_tool.h => toolkit/components/jsoncpp/src/lib_json/json_tool.h
rename : toolkit/crashreporter/jsoncpp/src/lib_json/json_value.cpp => toolkit/components/jsoncpp/src/lib_json/json_value.cpp
rename : toolkit/crashreporter/jsoncpp/src/lib_json/json_valueiterator.inl => toolkit/components/jsoncpp/src/lib_json/json_valueiterator.inl
rename : toolkit/crashreporter/jsoncpp/src/lib_json/json_writer.cpp => toolkit/components/jsoncpp/src/lib_json/json_writer.cpp
extra : rebase_source : 6996fe5fd4a8e704a138b568d636c1d5238f15b2
2017-04-19 14:41:03 -07:00
Daosheng Mu b4fb3b9c83 Bug 1353523 - Add adjustable threshold value for VR controller trigger inputs; r=kip
MozReview-Commit-ID: KQMccZeE2IK

--HG--
extra : rebase_source : b8c60e59c7f9678fdb15f3dcc6770198ec35b82a
2017-04-19 13:14:13 +08:00
Daosheng Mu 5ec9ae756d Bug 1356452 - Part 5: Detect hand changing at runtime for OpenVR controllers; r=kip
MozReview-Commit-ID: AR5zpxryIw6

--HG--
extra : rebase_source : c99f87a1c82b59c106bbb7e1c1c29d2478e2d353
2017-04-18 15:58:34 +08:00
Daosheng Mu ba21000af3 Bug 1356452 - Part 2: Replace vr:: namespace with ::vr:: in OpenVR; r=kip
MozReview-Commit-ID: uBvQ7hBI4z

--HG--
extra : rebase_source : 306dc8eb907f0d33aa62ec05f3fe97d1f07ffc69
2017-04-18 13:04:53 +08:00
Daosheng Mu 065b13fe52 Bug 1356452 - Part 1: Remove assertion for checking VRManager::Get(); r=kip
MozReview-Commit-ID: CMCX9Fq55tS

--HG--
extra : rebase_source : 10342128d91fea22b66dfd99379764ac6cccccc4
2017-04-18 12:45:44 +08:00
Daosheng Mu 22637d7222 Bug 1359670 - Notify GamepadManager when controllers are removed in VRPuppet manager; r=kip
MozReview-Commit-ID: KSlpJy8i7Xo

--HG--
extra : rebase_source : 416e8fa155c15829f0c488a2a1bf5f4924a5f375
2017-04-26 11:23:23 +08:00
Daosheng Mu 8bd65ecdd5 Bug 1355648 - Part 1: Check VR controllers if losing tracking; r=kip
MozReview-Commit-ID: B8DaBmz1mJo

--HG--
extra : rebase_source : cf41b0e4a87f710fb2e4da742213a0568b8a2ab9
2017-04-21 18:14:42 +08:00
Ben Tian cda6ed446d Bug 1350459 - Remove the [Throws] annotation from Window.navigator, r=qdot
MozReview-Commit-ID: 8vjyVrfa3xT

--HG--
extra : rebase_source : d63942141b562e0e69611f3cbc1da4e9ee522efc
2017-04-14 10:40:03 +08:00
Daosheng Mu 44629c133a Bug 1336003 - Oculus Touch button touched support; r=kip
MozReview-Commit-ID: 95RViosiVXO

--HG--
extra : rebase_source : 4a3b714e3abd18fccf526392210477d63ae6dc26
2017-04-13 14:06:07 +08:00
Kearwood Gilbert 5c1b11f1db 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

--HG--
extra : rebase_source : 4f2486d98e6d0912185cd93537ea248a1ad876c5
2017-04-11 22:12:22 -07:00
Kearwood Gilbert 8cedccb89e Bug 1341423 - Integrate OpenVR binding library r=daoshengmu
MozReview-Commit-ID: GaUnfbXgh9L

--HG--
rename : gfx/vr/openvr/openvr.h => gfx/vr/openvr/headers/openvr.h
extra : rebase_source : e7a0983371c1ed381ddf431e2d5a814c510d4967
2017-02-27 16:59:30 -08:00
Chih-Yi Leu 8aea1c1b28 Bug 1311802 - Part1 - Add SetMountState interface for VRMockDisplay; r=baku,daoshengmu
MozReview-Commit-ID: 7MFHIri2Bq7

--HG--
extra : rebase_source : 7c3c690d76d184c6bca8465e4b992ae0d8de7507
2017-03-27 11:26:19 +08:00
Kearwood Gilbert 043d85c921 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

--HG--
extra : rebase_source : 9eae07ef30b1a7559b5fe80e6698c248a55b970e
2017-03-30 09:35:49 -04:00
Daosheng Mu 639e273a82 Bug 1336002 - Part 3: Support button touched in OpenVR and Puppet; r=kip
MozReview-Commit-ID: CMacSyuK3mv

--HG--
extra : rebase_source : 202edb4a20fdabf38ac9edda7b2dbe336f4ebc3b
2017-04-06 19:00:20 +08:00
Daosheng Mu c80c10beb2 Bug 1354737 - Add assertion check for TrackedDeviceClass_GenericTracker at OpenVR HandleInput(); r=kip
MozReview-Commit-ID: 1nRSrkq06dr

--HG--
extra : rebase_source : 7acc97484b69097f2df5d2952473543b344366ca
2017-04-10 10:07:58 +08:00
Kearwood Gilbert 9466b8b744 Bug 1350076 - Add a preference to allow proximity sensor triggering of vrdisplayactivate and vrdisplaydeactivate r=daoshengmu
MozReview-Commit-ID: CIPwXAofYhD

--HG--
extra : rebase_source : ed592a84b721fdba407175ada1abf831eb785357
2017-04-04 11:28:56 -07:00
Daosheng Mu 031d7a70be Bug 1349895 - Vive Tracker support in OpenVR; r=kip
MozReview-Commit-ID: Gug4SUenhtU

--HG--
extra : rebase_source : 744bc90aa210466eb4a78b4fc63c7ddf79ea9bc2
2017-04-06 09:45:55 +08:00
Iris Hsiao 98b769cf18 Backed out the accidental backout of the backout of 3 changesets (bug 1311802). r=backout/reland
Backed out changeset 44bd57c9340f (bug 1311802)
Backed out changeset 4bb94cbb9a24 (bug 1311802)
Backed out changeset 15d9c5895041 (bug 1311802)
2017-03-31 10:11:19 +02:00
Sebastian Hengst 2374426ebe Backed out changeset 7e3f9a865413 (bug 1311802) for failing browser/base/content/test/static/browser_parsable_css.js. r=backout 2017-03-31 10:08:21 +02:00
Iris Hsiao f55fc8d7c5 Backed out 3 changesets (bug 1311802) for mochitest failures in test_vrDisplay_onvrdisplaydeactivate_crosscontent.html
Backed out changeset 44bd57c9340f (bug 1311802)
Backed out changeset 4bb94cbb9a24 (bug 1311802)
Backed out changeset 15d9c5895041 (bug 1311802)
2017-03-31 14:35:43 +08:00
Chih-Yi Leu 87da0a5295 Bug 1311802 - Part1 - Add SetMountState interface for VRMockDisplay; r=baku,daoshengmu
MozReview-Commit-ID: 7MFHIri2Bq7

--HG--
extra : rebase_source : 87c33bc5f06e6bcf53b72cae398ee72873c883cf
2017-03-27 11:26:19 +08:00
Kearwood Gilbert 09a9e040fa Bug 1351687 - Correct and Enable Pose Prediction for Oculus r=daoshengmu
MozReview-Commit-ID: Cl6DufZGxgQ

--HG--
extra : rebase_source : c76a20d8d5e582028c5216d5b839e0a4de0959f2
2017-03-30 15:27:50 -04:00
Daosheng Mu 22ebee8da0 Bug 1305892 - Support Oculus Touch Haptic Feedback; r=kip
MozReview-Commit-ID: 7V931IAcbbx

--HG--
extra : rebase_source : 3423aa7a99b79293783cb1572f8ad3d7a257c7c7
2017-03-29 17:58:11 +08:00