commit | 3764c82199cf0d39fd1d720a57d602f7b8407a91 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Mon Jul 22 15:30:55 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jul 22 15:30:55 2024 +0000 |
tree | ee3a350ca3c39ffa79356fd22ab1e65b31a155f1 | |
parent | c5d4b4cd152730fb9e46a26e4a746bdc5cb83358 [diff] |
[Kotlin]: Merge the filtering of struct/method members Both structures and method/function arguments follow a similar structure as "records" in dawn.json. See codegen.md. Merging both concepts in the JNI/Kotlin code generators will help share more code between structure and method argument conversion in the JNI bindings. One carveout was necessary for the callback info present in the DeviceDescriptor because we don't support generating Kotlin/JNI code for the callback info yet. Another change was necessary that aligns SurfaceFromAndroidNativeWindow::window to be a "void *" like all other platform pointers in dawn.json. This required twiddling of a few places where void* was handled. Bug: 352710628 Bug: 352711433 Change-Id: Icc51f579a8b1037659f7b9f82f3341dc46b96e3f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/198235 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Jim Blackler <jimblackler@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.