vvuk / gecko-dev

Other
41 stars 5 forks source link

Expose latency numbers in the browser #20

Open dmarcos opened 9 years ago

dmarcos commented 9 years ago

The DK2 has a built in latency tester. The SDK has an API to access it: ovrHmd_ProcessLatencyTest

https://developer.oculusvr.com/forums/viewtopic.php?f=55&t=10981

Can we expose it in the browser?

vvuk commented 9 years ago

That's for starting a latency test, and you may need to use the rgb color to clear the screen (which the device then waits for). It's unfortunately not as simple as just making a call -- you have to actually do rendering.

brianpeiris commented 9 years ago

Worth the trouble I think. Having an accurate latency measurement is crucial, especially in WebVR where we have a lot of ground to cover on performance IMO.