Closed Bug 1495104 Opened 6 years ago Closed 5 years ago

VRSystemManagerExternal::Enumerate should be non-blocking

Categories

(Core :: WebVR, enhancement)

59 Branch
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: kip, Assigned: kip)

References

Details

Once Bug 1473402 (Merge and simplify gfxVRExternal and VRDisplayHost) lands, we won't be needing the VRListenerThread any more; however, VRSystemManagerExternal::Enumerate has a polling/sleep() loop causing it to block until hardware enumeration has completed.  To avoid blocking the thread, we should poll for the completed enumeration with the VRManager::RunTasks() jobs.
Blocks: 1423912
Depends on: 1473402

This fix has been rolled into the patch for Bug 1473402. VRManager now does enumeration asynchronously without polling.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.