[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.