aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/mod.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2019-12-17 14:25:06 -0500
committerGitHub <noreply@github.com>2019-12-17 14:25:06 -0500
commitcea55e3892cf271b423806771c34b6ecad35ddde (patch)
tree397001fef52bd05786fc167be5a973e5e2b01273 /components/script/dom/mod.rs
parenta5844d5efd9135c0448ace252508bdce20e341c3 (diff)
parentebfcd0f27f654bcf14fef7dcb2fca3ad2c88f4bf (diff)
downloadservo-cea55e3892cf271b423806771c34b6ecad35ddde.tar.gz
servo-cea55e3892cf271b423806771c34b6ecad35ddde.zip
Auto merge of #25264 - szeged:wgpu_buffer, r=jdm
Initial implementation of GPUBuffer for WebGPU Added WebIDL bindings for `GPUBuffer`, `GPUBufferDescriptor`, `GPUBufferUsage`. Implemented the `createBuffer` and `createBufferMapped` functions of `GPUDevice`. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes addresses a part of #24706 <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> cc @kvark @jdm @zakorgy <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/25264) <!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/mod.rs')
-rw-r--r--components/script/dom/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/dom/mod.rs b/components/script/dom/mod.rs
index bb1110389c6..b8bdc638c17 100644
--- a/components/script/dom/mod.rs
+++ b/components/script/dom/mod.rs
@@ -317,6 +317,8 @@ pub mod gamepadlist;
pub mod globalscope;
pub mod gpu;
pub mod gpuadapter;
+pub mod gpubuffer;
+pub mod gpubufferusage;
pub mod gpudevice;
pub mod hashchangeevent;
pub mod headers;