commit | f6ef7530ab4f4f4dbcc1c1b99281c6df1cf6299b | [log] [tgz] |
---|---|---|
author | Austin Eng <enga@chromium.org> | Wed Jan 13 17:54:37 2021 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Wed Jan 13 17:54:37 2021 +0000 |
tree | 55ccc2bb4f2489364d837524537cd16842f1eec7 | |
parent | 8ef94f1684118ee5626770a4d2dfb207f37b2851 [diff] |
Make the Device ref the Instance This is needed before supporting instances, adapters, and devices on the wire so that the client cannot free the instance before the device. In Dawn native, the developer still needs to make sure the device is not freed before all child objects. Bug: dawn:384 Change-Id: I863d44c6a8acecc7b8ea0cc0ac483f7a864162fd Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/37003 Commit-Queue: Austin Eng <enga@chromium.org> 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.