aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/gputextureusage.rs
diff options
context:
space:
mode:
authorKunal Mohan <kunalmohan99@gmail.com>2020-05-29 12:02:05 +0530
committerKunal Mohan <kunalmohan99@gmail.com>2020-06-01 23:28:12 +0530
commitaf95d922315974dcfae5659b503a672b19026fdb (patch)
tree312c711c1d90ac33ed538cc1cc5e240bcf70273e /components/script/dom/gputextureusage.rs
parentd9db350df528628b1f7f2f1da711fc2da790ec49 (diff)
downloadservo-af95d922315974dcfae5659b503a672b19026fdb.tar.gz
servo-af95d922315974dcfae5659b503a672b19026fdb.zip
Implement GPUTexture and GPUTextureView
Diffstat (limited to 'components/script/dom/gputextureusage.rs')
-rw-r--r--components/script/dom/gputextureusage.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/components/script/dom/gputextureusage.rs b/components/script/dom/gputextureusage.rs
new file mode 100644
index 00000000000..ae426bed3ba
--- /dev/null
+++ b/components/script/dom/gputextureusage.rs
@@ -0,0 +1,11 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
+
+use crate::dom::bindings::reflector::Reflector;
+use dom_struct::dom_struct;
+
+#[dom_struct]
+pub struct GPUTextureUsage {
+ reflector_: Reflector,
+}