commit | a0afd3158504f5ae0cd4aeced0b21a5f66635729 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Wed Apr 01 12:07:43 2020 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Wed Apr 01 12:07:43 2020 +0000 |
tree | d3278e3a4166fe04ebe5d2be1ddf51519717052f | |
parent | 3da19b843ffd63d884f3a67f2da3eea20818499a [diff] |
Separate device lost from internal errors. The effect to the user is the same, the Dawn device gets lost. However we need to make the difference internally because when the backend device is lost we can clean up immediately. On the contrary on internal errors, the backend device is still alive and processing commands so we need to gracefully shut it down. Bug: dawn:269 Change-Id: Ie13b33a4f9ac2e1f5f98b3723d83cf1c6205c988 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/17965 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@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 webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.