commit | 5ad5557667054592ec671085e44ea6a4e0222d6d | [log] [tgz] |
---|---|---|
author | Austin Eng <enga@chromium.org> | Wed Jan 13 19:23:48 2021 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Wed Jan 13 19:23:48 2021 +0000 |
tree | 7a7f264f9a4158ea47b8b7796a337e9496de509c | |
parent | f0d7cc4f5a2caeb7ca8be9d099ce947ff38b40ed [diff] |
Remove special-casing of device reference/release in the wire The wire's device is externally owned so reference/release were no-ops. To unify the code paths, remove the special casing and instead take an extra ref on the device the wire server is created with. This is functionally equivalent and will allow both the current wire code, and the incoming change to allow multiple device/adapter creation to both work. This CL also makes it possible for the client to destroy the device before child objects. A follow-up CL will mitigate this on the server side. Bug: dawn:384 Change-Id: Ic5427074469012dccf8689ec95a848e6ba2c1fc2 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/37001 Commit-Queue: Austin Eng <enga@chromium.org> Reviewed-by: Jiawei Shao <jiawei.shao@intel.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
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.