commit | 112b7fd8566e5ce1e9cc1b2c12522c0269e31c83 | [log] [tgz] |
---|---|---|
author | Brandon Jones <bajones@chromium.org> | Wed May 17 01:52:30 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed May 17 01:52:30 2023 +0000 |
tree | cc92440efc8dee723b086a2b0306701e88cddbcb | |
parent | 0e6534e44d2c3c77ac409d787d9d5b3d449a2d0a [diff] |
Allow device lost callback to be passed at creation This change updates the Device descriptor to allow a device lost callback to be passed in at device creation time. This will be important for allowing the API to return devices which have already been lost in a future CL, which is the behavior required by the spec. This change does not yet deprecate the old method for setting the callback, as there's still some tricky scenarios that will need to be worked around to enable that and this CL is already fairly large. (The uses in question pass the device or a value created from the device as the userdata.) Bug: chromium:1234617 Change-Id: I1adea5ceffdfdcfedff9fff4960f12303abba29c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/121041 Reviewed-by: Austin Eng <enga@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Brandon Jones <bajones@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.