Commit Graph
98 Commits
Author SHA1 Message Date
[email protected] c6e529d55a Bug 1402749 - Part 2: Only allow updating VR controller amount at Vsync time; r=kip
MozReview-Commit-ID: EwXpyGnTYTD
2017-09-29 06:53:27 +00:00
Kearwood "Kip" Gilbert a8866257f1 Bug 1396326 - VRDisplay.getFrameData() now returns false when orientation data is not available,r=daoshengmu
MozReview-Commit-ID: 9XlzeXWOy8U
2017-09-27 13:54:58 -07:00
Kearwood "Kip" Gilbert 25a90f29c3 Bug 1394600 - Allow VRDisplay.requestPresent update the VR layers after presentation has already begun r=daoshengmu
- A user gesture is required only for the VRDisplay.requestPresent
  call that initiates the VR presentation, as per the WebVR 1.1 spec.
- The parameters of the VRLayer can now be updated by calling
  VRDisplay.requestPresent on an active VR presentation.
- Dynamic resolution switching is now functional:
  https://webvr.info/samples/08-dynamic-resolution.html

iMozReview-Commit-ID: BL7aJfF6nqR
MozReview-Commit-ID: CmhbFJ4ij5q
2017-08-28 16:20:59 -07:00
Kearwood "Kip" Gilbert d4d4911b16 Bug 1381085 - Submit VR frames with a separate ID3DDeviceContextState r=daoshengmu
- Using a separate ID3DDeviceContextState ensures
  that the WebVR context does not stomp over the
  mirrored state used by the MLGPU "Advanced" Layers rendering.

MozReview-Commit-ID: 99mfdsjFrMI
2017-09-18 16:19:49 -07:00
Kearwood "Kip" Gilbert 6091d05533 Bug 1400387 - Change 32-bit VR Frame ID's to 64-bit r=daoshengmu
MozReview-Commit-ID: BSvZMa0XVSO
2017-09-15 13:38:47 -07:00
Daosheng Mu 41fb7fc226 Bug 1400091 - Skip-if WebVR reftests for MacOSX non-Nightly build; r=kip
MozReview-Commit-ID: CGYHW3n6QuX
2017-09-15 15:30:33 +08:00
Daosheng Mu 69b46e1bbc Bug 1383907 - Enable WebVR reftests on macOS; r=jgilbert,kip
MozReview-Commit-ID: 2OpA95QWI4d
2017-08-25 00:30:31 +08:00
Daosheng Mu 8f2c019ebf Bug 1352520 - Add GeckoProfiler markers for WebVR; r=kip
MozReview-Commit-ID: 6j22J0rSw1Y
2017-09-06 16:08:21 +08:00
Andrew McCreight 84ee98de3c Bug 1391005 - Eliminate NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED. r=peterv
Replace it with NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION, because it
has been the same for a while.

MozReview-Commit-ID: 5agRGFyUry1
2017-08-29 16:02:48 -07:00
Daosheng Mu 23763260fe Bug 1388274 - Adjust WebVR telemetry histogram's high bound for user time spent; r=francois,kip
MozReview-Commit-ID: JcQZTgVmxr3
2017-08-08 18:23:43 +08:00
Daosheng Mu b5cb9e8549 Bug 1306156 - Add telemetry for watching MAU and time spent of WebVR users; r=kip
MozReview-Commit-ID: 6v3F6aGdNK7
2017-07-28 18:42:11 +08:00
Daosheng Mu 993bfac834 Bug 1382438 - Part 2: Replace vr controller displayId test with gamepadbuttondown event; r=kip
MozReview-Commit-ID: DSTg2IS407e
2017-07-27 11:25:45 +08:00
Daosheng Mu fb033cbf9a Bug 1375816 - Part 4: VRController displayId attribute testcase; r=kip
MozReview-Commit-ID: KkMXsTDRnQO
2017-07-14 17:08:15 +08:00
Sebastian Hengst 90e1f886eb Backed out changeset 498baf1613db (bug 1375816) 2017-07-18 11:48:22 +02:00
Daosheng Mu 1713faf0ef Bug 1375816 - Part 4: VRController displayId attribute testcase; r=kip
MozReview-Commit-ID: KkMXsTDRnQO
2017-07-14 17:08:15 +08:00
Wes Kocher 45b1db194e Backed out 4 changesets (bug 1375816) for various failures including builds busted in gfxVROculus.cpp a=backout
Backed out changeset 73619b7ce23d (bug 1375816)
Backed out changeset dd09fc501f90 (bug 1375816)
Backed out changeset fd4517198d6c (bug 1375816)
Backed out changeset e15e060f034c (bug 1375816)

MozReview-Commit-ID: 9VXOC0V45NE
2017-07-17 23:18:21 -07:00
Daosheng Mu ebd09d2ff6 Bug 1375816 - Part 4: VRController displayId attribute testcase; r=kip
MozReview-Commit-ID: KkMXsTDRnQO
2017-07-14 17:08:15 +08:00
Sylvestre Ledru 9d4a84d778 Bug 1378712 - Remove all trailing whitespaces r=Ehsan
MozReview-Commit-ID: Kdz2xtTF9EG
2017-07-06 14:00:35 +02:00
Daosheng Mu b121cee52b Bug 1368990 - Add reftest for verifying onVRPresentChange; r=kip
MozReview-Commit-ID: I8cce1eYQV8
2017-06-07 17:05:04 +08:00
Daosheng Mu 78f6ad9556 Bug 1229481 - Part 2: Add draw rect reftest for WebVR; r=kip
MozReview-Commit-ID: CnSYFFZS8lP
2017-05-05 19:00:25 +08:00
Daosheng Mu 06995bbc8c Bug 1229481 - Part 1: Move VR mochitest to its subfolder; r=kip
MozReview-Commit-ID: IK9f7aepBgw
2017-05-04 12:31:51 +08:00
Kearwood Gilbert a73a762350 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
2017-05-08 16:01:36 -07:00
Daosheng Mu dc15e65cf1 Bug 1343730 - Part 2: Get the submitframe result from VRDisplay; r=baku,kip
MozReview-Commit-ID: 91SqChn6jlO
2017-05-23 17:13:15 +08:00
Honza Bambas 66586e40e8 Bug 1363037 - Add missing gfxVR.h include to VRServiceTest.h to fix bustage. r=kip 2017-05-08 07:34:00 -04:00
Wes Kocher 1f5ff5465f Merge m-c to autoland a=merge
MozReview-Commit-ID: LOGgOErcV9L
2017-04-26 17:43:38 -07:00
Daosheng Mu edefcd2284 Bug 1355648 - Part 3: Set position and orientation IsValid properties for GamepadPose tests; r=kip
MozReview-Commit-ID: 29sjo3yhg98
2017-04-26 13:17:25 +08:00
Daosheng Mu 7ec6b40e3e Bug 1351547 - Part 1: Add WebVR Canvas2D mochitest for detecting crash; r=kip
MozReview-Commit-ID: DA8Lx3jGQ4p
---
 dom/vr/test/mochitest.ini                    |  2 ++
 dom/vr/test/test_vrDisplay_canvas2d.html     | 51 ++++++++++++++++++++++++++++
 dom/vr/test/test_vrDisplay_exitPresent.html  |  1 -
 dom/vr/test/test_vrDisplay_getFrameData.html |  2 +-
 4 files changed, 54 insertions(+), 2 deletions(-)
 create mode 100644 dom/vr/test/test_vrDisplay_canvas2d.html
2017-04-26 07:00:04 +02:00
Daosheng Mu 05d182fb38 Bug 1358010 - Skip vr mochitests when running on release and non-Windows platforms; r=kip
MozReview-Commit-ID: 7TeTXyIfrh
2017-04-20 21:11:17 +08:00
Kearwood Gilbert c5a8ac58b8 Bug 1356387 - Add constructor to VRHMDSensorState
- Also removed some now redundant calls to VRHMDSensorState::Clear()


MozReview-Commit-ID: Kkbvkn3XAP4
2017-04-17 12:15:38 -07:00
Kearwood Gilbert b412a1c826 Bug 1354206 - Prevent VRDisplay.requestAnimationFrame from succeeding after shutdown r=daoshengmu
MozReview-Commit-ID: LDw9nH60VCm
2017-04-12 16:22:29 -07:00
Chih-Yi Leu c37ebd1dd8 Bug 1311802 - Part3 - Initialize VRHMDSensorstate in VRMockDisplay to prevent crash; r=daoshengmu
MozReview-Commit-ID: ArGz64pDgZ7
2017-03-30 16:42:25 +08:00
Chih-Yi Leu f325bb6f47 Bug 1311802 - Part2 - Add Mochitest implementation; r=daoshengmu
MozReview-Commit-ID: K9Z0AWIi9Yp

MozReview-Commit-ID: DJ8lO4zsFjn
2017-03-30 12:02:37 +08:00
Chih-Yi Leu 7467fa75cc Bug 1311802 - Part1 - Add SetMountState interface for VRMockDisplay; r=baku,daoshengmu
MozReview-Commit-ID: 7MFHIri2Bq7
2017-03-27 11:26:19 +08:00
Andrew McCreight 40d6114946 Bug 1353877 - Don't leak intermediate string in VRServiceTest::AttachVRDisplay. r=froydnj
MozReview-Commit-ID: AR5nTS6KULg
2017-04-05 15:01:28 -07:00
Kearwood Gilbert a070ed4315 Bug 1353481 - When vrdisplayactivate is triggered by link traversal, VRDisplay.requestPresent should relax the user gesture requirement r=daoshengmu
MozReview-Commit-ID: 8viFBiY8A6m
2017-04-04 11:27:14 -07:00
Iris Hsiao 6b7cc9c988 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 38bf27027d 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 86f6c884d8 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 8ade12bc38 Bug 1311802 - Part3 - Initialize VRHMDSensorstate in VRMockDisplay to prevent crash; r=daoshengmu
MozReview-Commit-ID: ArGz64pDgZ7
2017-03-30 16:42:25 +08:00
Chih-Yi Leu 62f57d7f2c Bug 1311802 - Part2 - Add Mochitest implementation; r=daoshengmu
MozReview-Commit-ID: K9Z0AWIi9Yp
2017-03-30 12:02:37 +08:00
Chih-Yi Leu 3835eaf01a Bug 1311802 - Part1 - Add SetMountState interface for VRMockDisplay; r=baku,daoshengmu
MozReview-Commit-ID: 7MFHIri2Bq7
2017-03-27 11:26:19 +08:00
Chih-Yi Leu 749c94bcc6 Bug 1306505 - Implement mochitest: VRDisplay.exitPresent must only be allowed by content that started VR Presentation; r=daoshengmu
MozReview-Commit-ID: JSOhDU565gt
2017-03-23 10:49:45 +08:00
Daosheng Mu 563737132d Bug 1306493 - Part 6: disable require gesture when running VR tests; r=kip
MozReview-Commit-ID: EGTumxkgcDW
2017-03-16 11:46:22 +08:00
Daosheng Mu 013543fafb Bug 1306493 - Part 4: Make timestamp to be a monotonically increasing value in VRMockDisplay; r=kip
MozReview-Commit-ID: COR9n3fQBTX
2017-03-15 13:49:39 +08:00
Daosheng Mu c137998c06 Bug 1306493 - Part 3: Add VRDisplay getFrameData test for WebVR; r=kip
MozReview-Commit-ID: CEufWUY7xNZ
2017-03-13 13:10:33 +08:00
Daosheng Mu b7474ad576 Bug 1306493 - Part 2: Make vrMockDisplay to be the global var in VRSimulationDriver; r=kip
MozReview-Commit-ID: HTHqehkUMwC
2017-03-13 13:09:19 +08:00
Daosheng Mu 63d08fa1a4 Bug 1306493 - Part 1: Fix bug of getting frame data from VRPuppet; r=kip
MozReview-Commit-ID: L8gPVjxELtV
2017-03-13 13:07:48 +08:00
Kearwood Gilbert 61ef254c1f Bug 1254776 - VRDisplay.requestPresent must succeed only when called from a user-gesture or trusted event,r=qdot
MozReview-Commit-ID: 4BugtHPRekG
2017-03-07 16:04:12 -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 4a060df5ef Bug 1323328 - Part 3: Add VR display request present mochitest; r=kip
MozReview-Commit-ID: 13WuFhUFcTo
2017-03-02 00:00:23 +08:00