04f12142bd
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> |
||
---|---|---|
.. | ||
Wire.h | ||
WireClient.h | ||
WireServer.h | ||
dawn_wire_export.h |