commit | 51333453d784a134da3e6f171ecedae1e738d44e | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Wed Jul 24 13:34:23 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jul 24 13:34:23 2024 +0000 |
tree | e9da8f2ae928e63d9c1b12dae5aefa0dbe8954d9 | |
parent | 4c3bca64fb6279a4e4dd19c1adec973d2a1d8bfa [diff] |
[Kotlin]: Factor method argument conversion with KotlinRecord. Adds support for function pointers (and userdata), void* and nullable string to the macro generating the conversion helper. Change handling of JNI methods to first put all of their arguments in the KotlinRecord, convert that to a structure containing all the C arguments, and then call the function with arguments taken from this arguments structure. Bug: 352711433 Change-Id: Iaadb5eda237c929b4dc2d2321d980a6303a9fe3e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/198255 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Sonakshi Saxena <nexa@google.com> Reviewed-by: Jim Blackler <jimblackler@google.com> Commit-Queue: Sonakshi Saxena <nexa@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.