dawn-cmake/generator/templates/dawn/wire
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
..
client dawn::wire::client: Merge object allocators, add variadic Make. 2022-06-17 21:21:39 +00:00
server Remove device-child wire hack and enable DeviceLifetimeTests on the wire 2022-05-24 13:23:33 +00:00
ObjectType.h tint->dawn: Move src/dawn_wire -> src/dawn/wire 2022-02-04 12:51:25 +00:00
WireCmd.cpp dawn::wire: Separate ObjectHandle to its own header. 2022-06-14 13:22:16 +00:00
WireCmd.h dawn::wire: Separate ObjectHandle to its own header. 2022-06-14 13:22:16 +00:00