mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Use webxr IPC to get a WebXR device registry to each script thread
This commit is contained in:
parent
fee1418b43
commit
9eb75d4ea6
12 changed files with 148 additions and 35 deletions
|
@ -628,6 +628,8 @@ pub struct InitialScriptState {
|
|||
pub webgl_chan: Option<WebGLPipeline>,
|
||||
/// A channel to the webvr thread, if available.
|
||||
pub webvr_chan: Option<IpcSender<WebVRMsg>>,
|
||||
/// The XR device registry
|
||||
pub webxr_registry: webxr_api::Registry,
|
||||
/// The Webrender document ID associated with this thread.
|
||||
pub webrender_document: DocumentId,
|
||||
/// FIXME(victor): The Webrender API sender in this constellation's pipeline
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue