commit | 99b8081e31f4114c7cad96278e12d01df5b3360c | [log] [tgz] |
---|---|---|
author | Le Hoang Quyen <lehoangquyen@chromium.org> | Fri Mar 24 15:50:50 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Mar 24 15:50:50 2023 +0000 |
tree | 312a427c5ce2e75587d9064da4a85030bcc11509 | |
parent | 86adbdadf0b2cb88f0b4f0252f3258da03ae7c24 [diff] |
Add AdapterBase::APIGetInstance This method is useful for Chrome to query the Instance from Device by calling device.GetAdapter().GetInstance(). Then instance.ProcessEvents() can be used to poll for events instead of device.Tick(). Bug: dawn:1726 Change-Id: I45b5760bc07869a191ae3fd02ec25b99d78b068b Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125360 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Quyen Le <lehoangquyen@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> 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 the webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.