diff options
author | Alan Jeffrey <ajeffrey@mozilla.com> | 2019-07-02 12:34:58 -0500 |
---|---|---|
committer | Alan Jeffrey <ajeffrey@mozilla.com> | 2019-07-03 08:53:40 -0500 |
commit | 9eb75d4ea6d5df75f8bc18103401e565648c3b9d (patch) | |
tree | 4793587ed36f5d05d65d0915d5aef8584631bce4 /components/script_traits/lib.rs | |
parent | fee1418b43264771a5de6dfeaa94128fa6bf8793 (diff) | |
download | servo-9eb75d4ea6d5df75f8bc18103401e565648c3b9d.tar.gz servo-9eb75d4ea6d5df75f8bc18103401e565648c3b9d.zip |
Use webxr IPC to get a WebXR device registry to each script thread
Diffstat (limited to 'components/script_traits/lib.rs')
-rw-r--r-- | components/script_traits/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script_traits/lib.rs b/components/script_traits/lib.rs index c41f215d6ad..40e710846f9 100644 --- a/components/script_traits/lib.rs +++ b/components/script_traits/lib.rs @@ -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 |