[webkit-dev] WebVR on WebKit

Sergio Villar Senin svillar at igalia.com
Wed Aug 2 10:55:50 PDT 2017


some weeks ago I uploadedĀ [1] a patch (based on previous work by my
colleague at Igalia Zan) which basically adds the IDLs for WebVR 1.1
spec along with the required stubs and the cmake build configuration.
As Sam Weining perfectly pointed out, this needs some previous
discussion in the list in order to go ahead.

WebVR is an API which provides support for exposing virtual reality
devices (like HMDs) to web apps so that the info coming from those
devices could be converted into position, orientation and interactions
with virtual worlds. Note that for a complete VR experience some other
APIs would be needed as for example de Gamepad API for controller
support (some extensions were proposed).

Although the spec[2] mentions that 1.1 is deprecated it is what
browsers are shipping initially as 2.0 is still in a "do not implement"

Regarding interest from other vendors, WebVR is already supported in
Edge, Firefox nightly and experimental builds of Chromium. Other
browsers supporting it are Samsung Internet and Oculus Carmel.

Our main interest is to eventually have some implementation working on
WebKitGtk and/or WPE on Linux but obviously there is a lot of cross-
platform work that needs to be done as well. Our initial idea would be
to use the OpenVR API as Valve released a Linux version of their SDK
some months ago. Looks like a safe bet as other vendors like Firefox or
Chromium already include it in their trees as third party.



[1] https://bugs.webkit.org/show_bug.cgi?id=174202
[2] https://w3c.github.io/webvr/spec/1.1/

More information about the webkit-dev mailing list