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
This commit is contained in:
Samson 2023-09-30 14:30:12 +02:00 committed by GitHub
parent ebd41d4101
commit ddc47aa56b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
73 changed files with 1267 additions and 1428 deletions

View file

@ -6,10 +6,11 @@ use dom_struct::dom_struct;
use webgpu::wgpu::command::{bundle_ffi as wgpu_bundle, RenderBundleEncoder};
use webgpu::{wgt, WebGPU, WebGPURenderBundle, WebGPURequest};
use super::bindings::codegen::Bindings::GPURenderPipelineBinding::GPUIndexFormat;
use super::bindings::codegen::Bindings::WebGPUBinding::GPUIndexFormat;
use crate::dom::bindings::cell::DomRefCell;
use crate::dom::bindings::codegen::Bindings::GPURenderBundleBinding::GPURenderBundleDescriptor;
use crate::dom::bindings::codegen::Bindings::GPURenderBundleEncoderBinding::GPURenderBundleEncoderMethods;
use crate::dom::bindings::codegen::Bindings::WebGPUBinding::{
GPURenderBundleDescriptor, GPURenderBundleEncoderMethods,
};
use crate::dom::bindings::reflector::{reflect_dom_object, DomObject, Reflector};
use crate::dom::bindings::root::{Dom, DomRoot};
use crate::dom::bindings::str::USVString;