aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/gpuqueue.rs
diff options
context:
space:
mode:
authorSamson <16504129+sagudev@users.noreply.github.com>2023-09-30 14:30:12 +0200
committerGitHub <noreply@github.com>2023-09-30 12:30:12 +0000
commitddc47aa56b2c59911b7fec018d7ae89bf2a77bee (patch)
tree754019c50c36ec2a59dcf861036d6c624490fb32 /components/script/dom/gpuqueue.rs
parentebd41d41017ee9727eb8417a0a01237b75f3e9c4 (diff)
downloadservo-ddc47aa56b2c59911b7fec018d7ae89bf2a77bee.tar.gz
servo-ddc47aa56b2c59911b7fec018d7ae89bf2a77bee.zip
Codegen support multiple interfaces in single webidl file & WebGPU single webidl (#30448)
* Codegen support multiple interfaces in single webidl file * Merge GPU*.webidl into WebGPU.webidl * Update gpu files to use WebGPUBinding module file
Diffstat (limited to 'components/script/dom/gpuqueue.rs')
-rw-r--r--components/script/dom/gpuqueue.rs10
1 files changed, 4 insertions, 6 deletions
diff --git a/components/script/dom/gpuqueue.rs b/components/script/dom/gpuqueue.rs
index 3061211f20f..a9a850e825f 100644
--- a/components/script/dom/gpuqueue.rs
+++ b/components/script/dom/gpuqueue.rs
@@ -7,13 +7,11 @@ use ipc_channel::ipc::IpcSharedMemory;
use webgpu::identity::WebGPUOpResult;
use webgpu::{wgt, WebGPU, WebGPUQueue, WebGPURequest};
-use super::bindings::codegen::Bindings::GPUCommandEncoderBinding::{
- GPUImageCopyTexture, GPUImageDataLayout,
-};
+use super::bindings::codegen::Bindings::WebGPUBinding::{GPUImageCopyTexture, GPUImageDataLayout};
use crate::dom::bindings::cell::DomRefCell;
-use crate::dom::bindings::codegen::Bindings::GPUBufferBinding::GPUSize64;
-use crate::dom::bindings::codegen::Bindings::GPUQueueBinding::GPUQueueMethods;
-use crate::dom::bindings::codegen::Bindings::GPUTextureBinding::GPUExtent3D;
+use crate::dom::bindings::codegen::Bindings::WebGPUBinding::{
+ GPUExtent3D, GPUQueueMethods, GPUSize64,
+};
use crate::dom::bindings::codegen::UnionTypes::ArrayBufferViewOrArrayBuffer as BufferSource;
use crate::dom::bindings::error::{Error, Fallible};
use crate::dom::bindings::reflector::{reflect_dom_object, Reflector};