[wire][server] Update the wire server to use C++ structs when possible. - Now that we have the dawn::wire::* C++ structs, the server can mostly be updated to use the new types, updating a lot of the signatures and removing a slew of no-longer necessary FromAPIs. - This change also adds AsAPIType helper in dawn_platform to expose a unified way to help templating code get the C API types from the C++ one. Bug: 526537254 Change-Id: I3bc1588b15c33cf54ea2a2768af9d8fd820f42f9 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/335676 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Loko Kung <lokokung@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.