commit | 3ec729a1e8329b107efbdaf43850c792331fcb36 | [log] [tgz] |
---|---|---|
author | Loko Kung <lokokung@google.com> | Wed Aug 23 23:05:40 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Aug 23 23:05:40 2023 +0000 |
tree | b51475b5e7a1dca49f9c493f6d971a3f4c411c85 | |
parent | 8d2b0e1910914eadd9143838b61d7ddfea86125f [diff] |
Defers the promoted ref drop in the cache when equality checking. - As noted in the bug below, the race on which thread drops the last Ref of a cached object could cause a re-entrant call of Erase in the cache. Instead of immediately dropping the Ref, we keep track of a list of all Refs we successfully Promoted and drop them after releasing the cache-wide lock. Bug: dawn:1993 Change-Id: Ief9cfd2d49e546b5ed780a55ebc25b3dee3c9bce Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/148183 Reviewed-by: Austin Eng <enga@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Loko Kung <lokokung@google.com>
Dawn is an open-source and cross-platform implementation of the work-in-progress 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)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.