commit | 0ebe86d1ca46dd203e7c55577df6115fa527c1c3 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Fri Jun 17 21:21:39 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jun 17 21:21:39 2022 +0000 |
tree | 058d73d4d1498abe2d2cdd7891a274fafa08edf6 | |
parent | e57c29603556bc31d741266fc5bfedbad4f2598f [diff] |
dawn::wire::client: Merge object allocators, add variadic Make. This commit changes all the [Object]Allocators from the Client into a PerType<ObjectStore> member that contains a bunch of ObjectStore acting on ObjectBase. Adds a new (template) member functions to the client, Make/Get/Free that act on any object type, and update all the uses of previous [Object]Allocator to use these new methods. Also removes generated code that was generated per object type in favor of using the type-generic ObjectAllocator. Bug: dawn:1451 Change-Id: I6463b2fc4a827e3000c2a666abf08aa1a71c3b3b Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/93141 Reviewed-by: Austin Eng <enga@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Loko Kung <lokokung@google.com> Commit-Queue: 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.