summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/webgpu/gpu_image_copy_external_image.idl
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/webgpu/gpu_image_copy_external_image.idl')
-rw-r--r--chromium/third_party/blink/renderer/modules/webgpu/gpu_image_copy_external_image.idl11
1 files changed, 11 insertions, 0 deletions
diff --git a/chromium/third_party/blink/renderer/modules/webgpu/gpu_image_copy_external_image.idl b/chromium/third_party/blink/renderer/modules/webgpu/gpu_image_copy_external_image.idl
new file mode 100644
index 00000000000..6d9b80fc659
--- /dev/null
+++ b/chromium/third_party/blink/renderer/modules/webgpu/gpu_image_copy_external_image.idl
@@ -0,0 +1,11 @@
+// Copyright 2021 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+
+// https://gpuweb.github.io/gpuweb/
+
+dictionary GPUImageCopyExternalImage {
+ required (ImageBitmap or HTMLCanvasElement or OffscreenCanvas) source;
+ GPUOrigin2D origin = {};
+};