New issue
Advanced search Search tips

Issue 773493 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner:
Closed: Apr 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug
Proj-XR



Sign in to add a comment

WebVR: adjust JS scheduling to reduce latency

Project Member Reported by klausw@chromium.org, Oct 10 2017

Issue description

Automated tests showed an increase in JS time and pose prediction latency after change r507688 that improved framerate: 

https://chromeperf.appspot.com/report?sid=56bac5ac977a6eefbb6967b1345380d91bd6a937421af4b211d60f700e25ed3a

The difference seems to be that the JS VSync for the rAF callback seems to be triggered consistently a bit earlier in the frame lifecycle, so the JS side spends more time in the "wait for previous render to complete" phase.

It should be possible to reduce latency by triggering the rAF callback a bit later so that it can work with a fresher pose.

Also, the "wait for previous render to complete" step shouldn't count as JS processing time, it's only used to delay asking for the next VSync and this could be done on the VrShellGl side.
 
Labels: M-65
Status: Available (was: Untriaged)
Tentatively assigning to M65.
Labels: -M-65 M-66
Owner: klausw@chromium.org
Status: Assigned (was: Available)
Labels: -M-66
Status: WontFix (was: Assigned)
Covered by other bugs/work.
Components: Blink>WebXR

Sign in to add a comment