commit | 2c8a17ecc72dbb30f2e414210f8a756dd74229e7 | [log] [tgz] |
---|---|---|
author | Natasha Lee <natlee@microsoft.com> | Mon Dec 16 23:36:16 2019 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Mon Dec 16 23:36:16 2019 +0000 |
tree | 7e06ac1a24d3971a863c33a7192c7682cbb0eeff | |
parent | 1bbbe8f52da580bd245af733e068eaabacf72731 [diff] |
Refactor Device destructors to WaitForIdleForDestruction + Destroy To help with Device Loss, this splits Device backend destructors to WaitForIdleForDestruction and Destroy. WaitForIdleForDestruction waits for GPU to finish, checks errors and gets ready for destruction. Destroy is used to clean up and release resources used by device, does not wait for GPU or check errors. Bug: dawn:68 Change-Id: I054fd735e8d5b289365604209f38e616c723a4e7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/14560 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Rafael Cintron <rafael.cintron@microsoft.com> Commit-Queue: Natasha Lee <natlee@microsoft.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 webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.