dawn-cmake/generator/templates/dawn_wire/client
Corentin Wallez 2f616dd108 dawn_wire: Remove client/ApiProcs_autogen.h
This header was only used to call DeviceCreateErrorBuffer and
DeviceInjectError that are used in some handwritten client commands.
We remove the need for the header by making these two commands
handwritten.

This also improves readability, previously injecting errors read:

  ClientDeviceInjectError(reinterpret_cast<WGPUDevice>(device),
                           WGPUErrorType_Validation,
                           "Some validation message");

And now reads:

  device->InjectError(WGPUErrorType_Validation, "Some validation message");

Bug: dawn:445

Change-Id: Ie11570aacf3036e13abd174d91670ecb84661226
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/24080
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Stephen White <senorblanco@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
2020-06-30 18:26:30 +00:00
..
ApiObjects.h Separate WireClient.cpp into multiple files. 2019-01-16 02:18:06 +00:00
ApiProcs.cpp dawn_wire: Remove client/ApiProcs_autogen.h 2020-06-30 18:26:30 +00:00
ClientBase.h Make the wire Client own ObjectAllocators and CommandSerializer 2019-01-30 02:31:37 +00:00
ClientHandlers.cpp Cleanup: Rename dawn_wire Object "serial" to "generation" 2020-04-13 17:50:51 +00:00
ClientPrototypes.inc dawn_wire: Tag deserialize commands with volatile pointer 2019-10-07 20:38:47 +00:00