dawn-cmake/generator/templates/dawn/wire/client
Corentin Wallez 0ebe86d1ca 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>
2022-06-17 21:21:39 +00:00
..
ApiObjects.h tint->dawn: Move src/dawn_wire -> src/dawn/wire 2022-02-04 12:51:25 +00:00
ApiProcs.cpp dawn::wire::client: Merge object allocators, add variadic Make. 2022-06-17 21:21:39 +00:00
ClientBase.h dawn::wire::client: Merge object allocators, add variadic Make. 2022-06-17 21:21:39 +00:00
ClientHandlers.cpp dawn::wire::client: Merge object allocators, add variadic Make. 2022-06-17 21:21:39 +00:00
ClientPrototypes.inc tint->dawn: Move src/dawn_wire -> src/dawn/wire 2022-02-04 12:51:25 +00:00