dawn-cmake/src/include
Austin Eng 93bea5cb50 Add WireClient::Disconnect to stop serializing commands
This prevents the client from continuing to send commands
when the wire connection has dropped. In Chromium this may
be because the connection to the GPU process is lost and the
transfer buffer may be destroyed.

This CL also adds a new helper to make testing callbacks
with mocks easier.

Bug: chromium:1070392
Change-Id: I6a69c32cc506069554ead18ee83a156ca70e2ce2
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/19160
Commit-Queue: Austin Eng <enga@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
2020-04-15 02:00:14 +00:00
..
dawn Make dawn_native public headers and dawn_wsi use webgpu.h 2019-10-24 23:55:37 +00:00
dawn_native Call ID3D12SharingContract::Present on WebGPU swap buffer destroy 2020-03-30 20:31:45 +00:00
dawn_platform Use enums for trace event categories 2019-10-28 23:15:40 +00:00
dawn_wire Add WireClient::Disconnect to stop serializing commands 2020-04-15 02:00:14 +00:00