Closed
Bug 1351687
Opened 7 years ago
Closed 7 years ago
Correct and Enable Oculus Pose Prediction
Categories
(Core :: WebVR, enhancement)
Core
WebVR
Tracking
()
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: kip, Assigned: kip)
Details
Attachments
(1 file)
Currently, pose prediction for Oculus is disabled behind a pref, dom.vr.poseprediction.enabled. There was not much improvement or, in some cases, a reduction of comfort-level when enabling this pref. The cause of incorrect pose prediction appears to be that we are passing a frame index to ovr_GetPredictedDisplayTime but "0" to ovr_SubmitFrame. As we are only accessing the Oculus API from a single thread, we can simply pass "0" as a frame index to ovr_GetPredictedDisplayTime for correct functioning. I suggest making this change and changing the default to enabling pose prediction.
Comment hidden (mozreview-request) |
Assignee | ||
Comment 2•7 years ago
|
||
I tested this on very simple and very heavy models on SketchFab and webvr.info. The improvement isn't greatly noticeable, but certainly is not making anything worse.
Assignee | ||
Updated•7 years ago
|
Attachment #8853106 -
Flags: review?(dmu)
Comment 3•7 years ago
|
||
mozreview-review |
Comment on attachment 8853106 [details] Bug 1351687 - Correct and Enable Pose Prediction for Oculus https://reviewboard.mozilla.org/r/125182/#review127874 LGTM
Attachment #8853106 -
Flags: review?(dmu) → review+
Pushed by kgilbert@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b519e1798774 Correct and Enable Pose Prediction for Oculus r=daoshengmu
Comment 5•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b519e1798774
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in
before you can comment on or make changes to this bug.
Description
•