commit | 0a552b460b2624b2e43b129e10157feba5220c19 | [log] [tgz] |
---|---|---|
author | Loko Kung <lokokung@google.com> | Wed Apr 10 03:39:38 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Apr 10 03:39:38 2024 +0000 |
tree | 456036dc2323666992cdb2a19048408ab2ecb8f7 | |
parent | b5fc20c02eefa8c33d7cd4e1cfab2b7fc199cdf4 [diff] |
Reland "[wgpu-headers] Align device lost callbacks with webgpu.h and futures." Relanding after the following fixes to users: - Chrome: https://chromium-review.googlesource.com/c/chromium/src/+/5441439 - Skia/Graphite: https://skia-review.googlesource.com/c/skia/+/838480 - MLDrift: https://critique.corp.google.com/cl/623262112 Original change's description: > [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> Bug: dawn:2450, dawn:2021 Change-Id: I72d6105d719942d1b9745d476e0d07498e659a51 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/183162 Commit-Queue: Loko Kung <lokokung@google.com> Reviewed-by: Austin Eng <enga@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.