commit | d9355b1923d23b66e3d1afb532d4e00612eff253 | [log] [tgz] |
---|---|---|
author | Loko Kung <lokokung@google.com> | Mon Apr 08 20:52:42 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Apr 08 20:52:42 2024 +0000 |
tree | 464bd49677d5e5e2de7ca5207b95fec8c11e33f7 | |
parent | 06ebe43c5dccf146f0cfa56453a45fc1e134cb7e [diff] |
[wgpu-headers] Align device lost callbacks with webgpu.h and futures. - Overrides wire::ObjectBase::Release logic for Device. This was necessary because the DeviceLostEvent holds a ref to the Device. - Introduces non-progressing SystemEvents. This is needed because we want to make sure that polling doesn't happen as long as a device lost event exists. Bug: dawn:2021 Change-Id: I120ca3c1e4b2bfd00b43bb9f26d91cb5c3f2e4d6 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/165527 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Kai Ninomiya <kainino@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.