Closed Bug 1336287 Opened 8 years ago Closed 8 years ago

[webvr] Checking OpenVR system before HandleInput()

Categories

(Core :: Graphics, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla54
Tracking Status
firefox54 --- fixed

People

(Reporter: daoshengmu, Assigned: daoshengmu)

Details

Attachments

(1 file)

Because we always would create and initialize VR system manager when we make 'dom.vr.openvr.enabled' to be true, after Bug 1332989, the mechanism of our system manager for controllers needs to check if mVRSystem has already been set before updating VR controllers.
Assignee: nobody → dmu
VRDisplay always uses displayId that is generated at GetHMDs() to call mVRSystem to update. Therefore, VRDisplay can make sure the mVRSystem has already been created but for controllers we can not.
Comment on attachment 8833175 [details] Bug 1336287 - Checking OpenVR system is not null before HandleInput(); https://reviewboard.mozilla.org/r/109402/#review110704 Thanks! LGTM
Attachment #8833175 - Flags: review?(kgilbert) → review+
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: