dawn-cmake/generator
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
..
templates dawn_wire: Remove client/ApiProcs_autogen.h 2020-06-30 18:26:30 +00:00
BUILD.gn BUILD.gn: Delete stale generated files in Dawn's gen dir. 2019-09-19 23:30:42 +00:00
CMakeLists.txt Add initial CMakeLists.txt files 2020-02-05 17:16:05 +00:00
dawn_generator.gni BUILD.gn: Delete stale generated files in Dawn's gen dir. 2019-09-19 23:30:42 +00:00
dawn_json_generator.py dawn_wire: Remove client/ApiProcs_autogen.h 2020-06-30 18:26:30 +00:00
extract_json.py Use python3 for all of Dawn's python scripts 2020-04-17 20:43:07 +00:00
generator_lib.gni BUILD.gn: Delete stale generated files in Dawn's gen dir. 2019-09-19 23:30:42 +00:00
generator_lib.py Use python3 for all of Dawn's python scripts 2020-04-17 20:43:07 +00:00
opengl_loader_generator.py Use python3 for all of Dawn's python scripts 2020-04-17 20:43:07 +00:00
remove_files.py Use python3 for all of Dawn's python scripts 2020-04-17 20:43:07 +00:00