dawn-cmake/generator/templates
Austin Eng 6a5418a760 Add MemoryTransfer interfaces to the wire
This patch adds MemoryTransfer client/server interfaces and
uses it to implement data transfers for buffer mapping.

This patch also provides a default "inline" implementation of
the MemoryTransfer which is used if the embedder does not
provide one on initialization.

Because implementations of MemoryTransfer perform their own
serialization, a skip_serialize option is added to WireCmd records.

Bug: dawn:156
Change-Id: I2fa035517628a3ad465b0bc18a6ffc477e2bd67f
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/8642
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
2019-07-19 16:01:48 +00:00
..
dawn_native Make rasterization state descriptor optional 2019-07-16 17:01:59 +00:00
dawn_wire Add MemoryTransfer interfaces to the wire 2019-07-19 16:01:48 +00:00
opengl Remove glad and replace it with our own GL header 2019-06-17 09:17:29 +00:00
api.c Capitalize C types dawn -> Dawn 2019-03-11 16:52:42 +00:00
api.h Use whole size of buffer if binding buffer size is UINT64_MAX 2019-07-17 08:54:19 +00:00
apicpp.cpp Implement CreateBufferMapped in dawn_native for MAP_WRITE buffers only. 2019-05-15 18:55:22 +00:00
apicpp.h Use whole size of buffer if binding buffer size is UINT64_MAX 2019-07-17 08:54:19 +00:00
mock_api.cpp Implement CreateBufferMappedAsync in dawn_wire and dawn_native 2019-06-14 17:35:56 +00:00
mock_api.h Implement CreateBufferMappedAsync in dawn_wire and dawn_native 2019-06-14 17:35:56 +00:00