commit | bc9e8c8dc1e9435714f3b564b0907ded2b955959 | [log] [tgz] |
---|---|---|
author | Patrick To <patrto@microsoft.com> | Wed Feb 19 15:31:15 2025 -0800 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Feb 19 15:31:15 2025 -0800 |
tree | c3c76f50d036b9573bd456de2436acc70972b773 | |
parent | 08003b346c1e5576a0df15e0c0ea7ccaa8ef5c94 [diff] |
Add a dawn wire client API to request a device's id and generation Expose an API in dawn::wire::WireClient to request a device's id and generation, returned through the dawn::wire::Handle struct. This change is required for http://crrev.com/c/5833743. The device id and device generation are passed from Blink to the WebNN service so that the WebNN service can lookup the native Dawn WebGPU device. Change-Id: Ia98d6f9e9f4152f47402a6717fa9cc8412a17d1f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/205174 Commit-Queue: Patrick To <patrto@microsoft.com> Reviewed-by: Rafael Cintron <rafael.cintron@microsoft.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
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.