[dawn][wire] Fix dawn wire server to use ProcessEvents. - The wire server should currently (by default) be using ProcessEvents for most callbacks. Otherwise, it's possible for races since the wire is not currently thread safe. - Note that requestAdapter and requestDevice are currently exceptions. - In the future, once the wire is thread-safe, we should be able to forward the callback mode accordingly instead of forcing all wire server callbacks to be ProcessEvents. Bug: 412761856 Change-Id: I4d3c4ff282ffa224606806586a5b2956737bfae8 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/237477 Commit-Queue: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Auto-Submit: Loko Kung <lokokung@google.com>
Dawn is an open-source and cross-platform implementation of the 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 the webgpu.h docs)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.