commit | cac0442277f7be1f9546a82b416c26a8dbf81ebd | [log] [tgz] |
---|---|---|
author | Austin Eng <enga@chromium.org> | Tue Oct 13 22:35:34 2020 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Tue Oct 13 22:35:34 2020 +0000 |
tree | 3f8ddc281098021b80022bec865adfb07c380d48 | |
parent | ccaef8525710f27db60adcc7e9778c2caac1bada [diff] |
dawn_wire: Support chunked commands This CL adds support for chunking large commands by first serializing large commands first into a separate buffer, and then sending the buffer data chunk by chunk. This code path is used for large writeBuffer and writeTexture, as well as the inline memory transfer service for buffer mapping. The transfer for writeBuffer and writeTexture will be optimized further in Chrome, and the inline memory transfer service is currently used only in tests. Bug: chromium:1123861, chromium:951558 Change-Id: I02491a44e653e2383174958d9c3d4a4db6fd7bde Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/28882 Commit-Queue: Austin Eng <enga@chromium.org> Reviewed-by: Stephen White <senorblanco@chromium.org>
Dawn is an open-source and cross-platform implementation of the work-in-progress WebGPU standard. More precisely it implements webgpu.h
that is a one-to-one mapping with the WebGPU IDL. Dawn is meant to be integrated as part of a larger system and is the underlying implementation of WebGPU in Chromium.
Dawn provides several WebGPU building blocks:
webgpu.h
version that Dawn implements.webgpu.h
.Helpful links:
Developer documentation:
User documentation: (TODO, figure out what overlaps with webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.