dawn-cmake/generator/templates/dawn_wire/client
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
..
ApiObjects.h Separate WireClient.cpp into multiple files. 2019-01-16 02:18:06 +00:00
ApiProcs.cpp dawn_wire: Make ApiProcs call into objects directly. 2020-06-30 18:01:50 +00:00
ApiProcs.h dawn_wire: Validate all objects are from the same device in the client 2020-04-15 17:58:25 +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