diff options
author | Patrick Shaughnessy <pshaughn@comcast.net> | 2019-11-23 22:08:43 -0500 |
---|---|---|
committer | Patrick Shaughnessy <pshaughn@comcast.net> | 2019-11-23 22:08:43 -0500 |
commit | a2a3ecac93563bffdc34bd747332da6c8d5f0552 (patch) | |
tree | 9829168e2d90d86c2cff1da65589db5e5cccc08c /components/script_traits/lib.rs | |
parent | f1b34aa9950a0d240bee76aa13ad729429a0bcd7 (diff) | |
parent | a562808ebb0a7b30a570a0302c1f7e69e00a3b4a (diff) | |
download | servo-a2a3ecac93563bffdc34bd747332da6c8d5f0552.tar.gz servo-a2a3ecac93563bffdc34bd747332da6c8d5f0552.zip |
Merge branch 'master' of https://github.com/pshaughn/servo
Diffstat (limited to 'components/script_traits/lib.rs')
-rw-r--r-- | components/script_traits/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/components/script_traits/lib.rs b/components/script_traits/lib.rs index a8a19b5a40a..efa877adb17 100644 --- a/components/script_traits/lib.rs +++ b/components/script_traits/lib.rs @@ -60,6 +60,7 @@ use std::sync::Arc; use std::time::Duration; use style_traits::CSSPixel; use style_traits::SpeculativePainter; +use webgpu::WebGPU; use webrender_api::units::{DeviceIntSize, DevicePixel, LayoutPixel}; use webrender_api::{DocumentId, ExternalScrollId, ImageKey, RenderApiSender}; use webvr_traits::{WebVREvent, WebVRMsg}; @@ -656,6 +657,8 @@ pub struct InitialScriptState { pub content_process_shutdown_chan: Sender<()>, /// A channel to the WebGL thread used in this pipeline. pub webgl_chan: Option<WebGLPipeline>, + /// A channel to the WebGPU threads. + pub webgpu: Option<WebGPU>, /// A channel to the webvr thread, if available. pub webvr_chan: Option<IpcSender<WebVRMsg>>, /// The XR device registry |