aboutsummaryrefslogtreecommitdiffstats
path: root/components/shared/script/script_msg.rs
diff options
context:
space:
mode:
authorSamson <16504129+sagudev@users.noreply.github.com>2024-05-08 15:53:39 +0200
committerGitHub <noreply@github.com>2024-05-08 13:53:39 +0000
commit168d43f24a18184afadc6aa8646537289c85860a (patch)
tree138629b4b003141fbb5c6cb8fcf8cee3272664c2 /components/shared/script/script_msg.rs
parentc4f8599404e52da58e9e4e8f8aef3e7efa4996c9 (diff)
downloadservo-168d43f24a18184afadc6aa8646537289c85860a.tar.gz
servo-168d43f24a18184afadc6aa8646537289c85860a.zip
webgpu: Refactor webgpu crate (#32255)
* wgpu(_core) -> wgc * Refactor webgpu crate split lib.rs into multiple modules
Diffstat (limited to 'components/shared/script/script_msg.rs')
-rw-r--r--components/shared/script/script_msg.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/shared/script/script_msg.rs b/components/shared/script/script_msg.rs
index ff854b8d26f..a51859231ba 100644
--- a/components/shared/script/script_msg.rs
+++ b/components/shared/script/script_msg.rs
@@ -24,7 +24,7 @@ use serde::{Deserialize, Serialize};
use servo_url::{ImmutableOrigin, ServoUrl};
use smallvec::SmallVec;
use style_traits::CSSPixel;
-use webgpu::{wgpu, WebGPU, WebGPUResponseResult};
+use webgpu::{wgc, WebGPU, WebGPUResponseResult};
use webrender_api::units::{DeviceIntPoint, DeviceIntSize};
use crate::{
@@ -258,8 +258,8 @@ pub enum ScriptMsg {
/// Create a WebGPU Adapter instance
RequestAdapter(
IpcSender<Option<WebGPUResponseResult>>,
- wgpu::instance::RequestAdapterOptions,
- SmallVec<[wgpu::id::AdapterId; 4]>,
+ wgc::instance::RequestAdapterOptions,
+ SmallVec<[wgc::id::AdapterId; 4]>,
),
/// Get WebGPU channel
GetWebGPUChan(IpcSender<Option<WebGPU>>),