commit | 93bea5cb50e30f115088be752145df88562bfa25 | [log] [tgz] |
---|---|---|
author | Austin Eng <enga@chromium.org> | Wed Apr 15 02:00:14 2020 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Wed Apr 15 02:00:14 2020 +0000 |
tree | 93ec90c0cd82cc9e0327c4da8fea1ea6e9b32db7 | |
parent | beaaa5a601408355ac3c92b05dae208f335d5f55 [diff] |
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>
Dawn is an open-source and cross-platform implementation of the work-in-progress WebGPU standard. More precisely it implements webgpu.h
that is a one-to-one mapping with the WebGPU IDL. Dawn is meant to be integrated as part of a larger system and is the underlying implementation of WebGPU in Chromium.
Dawn provides several WebGPU building blocks:
webgpu.h
version that Dawn implements.webgpu.h
.Helpful links:
Developer documentation:
User documentation: (TODO, figure out what overlaps with webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.