commit | c97efdfa8e6eaae7f0aaadf24f51f191a9ed1136 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Wed Jul 17 01:05:11 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jul 17 01:05:11 2024 +0000 |
tree | b82b56a017a02277c97acc7f9d1cbedc7ea961b7 | |
parent | 75ee04d685fb925d856bf5d343f321b454992640 [diff] |
Make WireTest::instance a wgpu::Instance instead of WGPUInstance. Switching the client-side objects in WireTest to be the C++ version helps both do proper refcounting (now that the client doesn't automatically destroy objects on ~Client) and separate the client-side from the server-side more in tests. Also fixes an issue where the client::Instance would try to access the Client even if it has been already destroyed. Bug: 353294052 Change-Id: Ic436b712663fc86c5e6ba50211ec8eb8c7061902 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/198674 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Loko Kung <lokokung@google.com> Commit-Queue: Austin Eng <enga@chromium.org> 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.