dawn-cmake/generator/templates/dawn_wire
Corentin Wallez d411726003 dawn_wire: Make ApiProcs call into objects directly.
This CL modifies code generation so that the generated client procs call
the handwritten methods on client objects directly.

Previously the flow was:
  - wgpuBarDoStuff
  - ClientBarDoStuff
  - ClientHandwrittenBarDoStuff
  - client::Bar::DoStuff

With this CL the flow is:
  - wgpuBarDoStuff
  - ClientBarDoStuff
  - client::Bar::DoStuff

This required adding Buffer creation methods on client::Device instead
of calling client::Buffer static methods directly.

Bug: dawn:445

Change-Id: I1b332b71ac7a03685afcf8fd0617d3d27da468cf
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/24062
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:01:50 +00:00
..
client dawn_wire: Make ApiProcs call into objects directly. 2020-06-30 18:01:50 +00:00
server Cleanup: Rename dawn_wire Object "serial" to "generation" 2020-04-13 17:50:51 +00:00
WireCmd.cpp dawn_wire: Factor the common command serialization pattern. 2020-06-19 16:49:43 +00:00
WireCmd.h dawn_wire: Factor the common command serialization pattern. 2020-06-19 16:49:43 +00:00