commit | 40af037cb23e7fd601cf91af0c5e62574fbb1aa4 | [log] [tgz] |
---|---|---|
author | Zhaoming Jiang <zhaoming.jiang@microsoft.com> | Tue Jun 17 01:19:17 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jun 17 01:19:17 2025 -0700 |
tree | 7242f180346bb27f01d2585d6054b7d86b8dcddb | |
parent | 08113ea280e4522aceb8e8a67af521ee4cb1c313 [diff] |
Dawn: Add abs class LogEmitter and make DeviceBase impl it This CL add a new abstract class, namely LogEmitter, to expose the logging ability, and make DeviceBase implement it. This can help explicitly restrict the accessing to devices' ability and prevent using or changing a device unexpectedly where we only suppose to emit log. Bug: 402772740 Change-Id: Idbcd5cda49544b10836dfe20397d43bfecf69ebe Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/247014 Reviewed-by: Loko Kung <lokokung@google.com> Commit-Queue: Zhaoming Jiang <zhaoming.jiang@microsoft.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.