commit | c0bc42329f93bd96710b6150ab24d2fbc186eab6 | [log] [tgz] |
---|---|---|
author | Austin Eng <enga@chromium.org> | Wed Jun 26 17:18:43 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jun 26 17:18:43 2024 +0000 |
tree | adc147c4d11be7195f35a26abc47f3e7c7e7d0f3 | |
parent | 4a186839476d5194f30fb2f7b745887e12f2d154 [diff] |
Reland "Make a convenience cpp method for WaitAny with one future" This is a reland of commit e68cc7fd1318640d77eab109a4649fc87d6fc4c7 Reland with the extraneous `wgpu::` in api_cpp.h removed. Original change's description: > Make a convenience cpp method for WaitAny with one future > > When one future is waited on, there is no need for FutureWaitInfo. > FutureWaitInfo tells you which futures completed when the application > passed a list of futures. But when the list is only one element, > WaitStatus::Success always means that the future completed. > > When waiting on just one future, this is much more convenient than > creating the extra struct. > > Bug: none > Change-Id: I75b722511a8025a5c1d9229380a5a1618d21a0a8 > Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/193701 > Commit-Queue: Austin Eng <enga@chromium.org> > Reviewed-by: Loko Kung <lokokung@google.com> > Reviewed-by: Kai Ninomiya <kainino@chromium.org> Bug: none Change-Id: I020a1d45587187d75bc263b03fb8445f53ba7131 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/195854 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Dawn is an open-source and cross-platform implementation of the 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)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.