dawn-cmake/include/dawn/wire
Corentin Wallez 04f12142bd dawn::wire::client: Make object constructors less barebones.
This uses the variadic template arguments to Client::Make to
pass more data to object constructors and move the copying of data from
descriptors into the constructors.

This required adding a descriptor to the textures created in
ReserveTexture. The descriptor should come from the outside to give the
correct reflection data to textures (for example textures from
GPUCanvasContext). So a descriptor argument is added to ReserveTexture
that currently defaults to nullptr, but will be required once current
uses are updated.

Bug: dawn:1451
Change-Id: I44cbd5718b8d75fdde3ab1321d24f69a8e2486de
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/93142
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
2022-06-19 20:13:01 +00:00
..
Wire.h Remove custom serialization of device properties 2022-05-31 20:07:39 +00:00
WireClient.h dawn::wire::client: Make object constructors less barebones. 2022-06-19 20:13:01 +00:00
WireServer.h Remove final qualifiers from WireClient/Server HandleCommands 2022-05-12 13:17:47 +00:00
dawn_wire_export.h Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00