summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/webgpu/gpu_queue.idl
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/webgpu/gpu_queue.idl')
-rw-r--r--chromium/third_party/blink/renderer/modules/webgpu/gpu_queue.idl17
1 files changed, 9 insertions, 8 deletions
diff --git a/chromium/third_party/blink/renderer/modules/webgpu/gpu_queue.idl b/chromium/third_party/blink/renderer/modules/webgpu/gpu_queue.idl
index 26be9a3a385..2174c348741 100644
--- a/chromium/third_party/blink/renderer/modules/webgpu/gpu_queue.idl
+++ b/chromium/third_party/blink/renderer/modules/webgpu/gpu_queue.idl
@@ -19,8 +19,8 @@
GPUBuffer buffer,
GPUSize64 bufferOffset,
[AllowShared] ArrayBufferView data,
- optional GPUSize64 dataByteOffset = 0,
- optional GPUSize64 byteSize);
+ optional GPUSize64 dataElementOffset = 0,
+ optional GPUSize64 dataElementCount);
[RaisesException] void writeBuffer(
GPUBuffer buffer,
GPUSize64 bufferOffset,
@@ -29,18 +29,19 @@
optional GPUSize64 byteSize);
[RaisesException] void writeTexture(
- GPUTextureCopyView destination,
+ GPUImageCopyTexture destination,
[AllowShared] ArrayBufferView data,
- GPUTextureDataLayout dataLayout,
+ GPUImageDataLayout dataLayout,
GPUExtent3D size);
[RaisesException] void writeTexture(
- GPUTextureCopyView destination,
+ GPUImageCopyTexture destination,
ArrayBuffer data,
- GPUTextureDataLayout dataLayout,
+ GPUImageDataLayout dataLayout,
GPUExtent3D size);
[RaisesException] void copyImageBitmapToTexture(
- GPUImageBitmapCopyView source,
- GPUTextureCopyView destination,
+ GPUImageCopyImageBitmap source,
+ GPUImageCopyTexture destination,
GPUExtent3D copySize);
};
+GPUQueue includes GPUObjectBase; \ No newline at end of file