tree: 8b5991feac9f211dbcedfb33a4f7830e83425a8a [path history] [tgz]
  1. android/
  2. BUILD.gn
  3. DEPS
  4. DIR_METADATA
  5. mailbox_to_surface_bridge_impl.cc
  6. mailbox_to_surface_bridge_impl.h
  7. OWNERS
  8. README.md
components/webxr/README.md

WebXR Component

WebXR Overview

The web-exposed interface to WebXR begins in Blink. This code (with the help of the VRService mojom interface) talks with the browser process to broker a connection directly with the corresponding device code. Note that this device code is often hosted in a separate XR utility process, and thus the isolated_xr_device service needs to assist the browser in brokering these connections. The code that talks directly with a device or its corresponding SDK/API (e.g. OpenXR) is often referred to as a “Runtime” throughout XR code. It is responsible for querying or formatting the data into/out of the expected WebXR formats.

Component Code

This component code may depend on code in both //device and //content. It is intended for code that is necessary for a given runtime to work, but cannot be added under //device due to layering violations. Often this is because there may need to be customizable extension points added for different embedders. This includes code such as rendering utilizing the viz framework, or extension methods for embedders to customize the install flow for some runtimes.