commit | 8d195d511dbd6618c9f8fd156db9e049e025acba | [log] [tgz] |
---|---|---|
author | Loko Kung <lokokung@google.com> | Tue Sep 28 15:40:01 2021 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Sep 28 15:40:01 2021 +0000 |
tree | 7abdf03ec70c47eb73e2f1c09a6b3d99cbf7a06a | |
parent | 7b04930aa07ca8aee44b2c7911a9258845e78958 [diff] |
Refactors dawn_native objects for list tracking and adds destroy skeleton API. Adds generated headers in dawn_native for object type tracking similar to that used in dawn_wire. Splits ObjectBase into ObjectBase and ApiObjectBase for clearly differentiation, and adds virtual function to identify the type of ApiObjects. Updates error generation to utilize new object typing for generating messages. Bug: dawn:628, dawn:840, dawn:563 Change-Id: Ia4f831fcbfb29a70ed5a35d47ed622921e744c84 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/64820 Commit-Queue: Loko Kung <lokokung@google.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.