commit | 214db98d28cee3a9545197f76ceb7b67c346f5a9 | [log] [tgz] |
---|---|---|
author | Austin Eng <enga@chromium.org> | Fri Feb 09 22:16:03 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Feb 09 22:16:03 2024 +0000 |
tree | ae6cbf9d81d0ade8e2cda29949eeca0d0d617485 | |
parent | 9073b75698fffeaa6f0c6c18cbdbe7d9cde6dc8d [diff] |
Make the device logging callback spontaneous Becase now logs may spontaneously happen, even on another thread, the wire server serializer also needs to be made thread safe. In the future, the serializer could be implemented in two phases: GetCmdSpace and DidWriteCmdSpace. Then, getting the command space can be made atomic, and we don't need the lock. Bug: dawn:2021 Change-Id: If054bd89d4e992ff8a9b24270837f57392b49c5c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/174200 Commit-Queue: Austin Eng <enga@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: 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.