commit | e5fbd7ea4fe929e6253081aa5c0ab50d0919080c | [log] [tgz] |
---|---|---|
author | Lokbondo Kung <lokokung@google.com> | Fri Oct 11 08:07:47 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Oct 11 08:07:47 2024 +0000 |
tree | 0d2de7ea9aaf66a921f02b026f00b3062f2e313b | |
parent | f3c7cc5c580eb743829c78bb77df0c1e8f6a6ce3 [diff] |
[dawn][wire] Fixes last dropped reference for buffer unmap in wire. - Makes the wire Buffer external refcounted so that when the last external reference is dropped, we can immediately resolve all mapAsync calls. - Before this change, dropping the last external reference would not immediately trigger the callback. Change-Id: I416d7ea91f020156bfb4b15b13b0d5d09c3e0aa2 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/210135 Reviewed-by: Corentin Wallez <cwallez@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.