commit | 4afd48b6048e00af41b9187d211dcbaadbd02dbc | [log] [tgz] |
---|---|---|
author | Jim Blackler <jimblackler@google.com> | Thu Jun 06 17:28:17 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 06 17:28:17 2024 +0000 |
tree | 03069337c692028b44fd973780d5fe998ff36681 | |
parent | f9960c14a66f09e1c1db4b6a8c7f5e5962d668d7 [diff] |
Kotlin methods return binary data in ByteBuffers. This removes the need for handwritten versions of getMappedRange and getConstMappedRange. Having said that, we might want to supply a helper extension for clients, that can supply the size parameter and automatically call the const or non-const version appropriately. Bug: 330293683 Change-Id: I57282735cb65cb719c98cf20b37621714bd06d4a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/191621 Commit-Queue: Jim Blackler <jimblackler@google.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: dan sinclair <dsinclair@google.com>
Dawn is an open-source and cross-platform implementation of the 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 the webgpu.h docs)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.