DawnNative: Add dawn::native::InstanceProcessEvents() Make this a standalone function instead of a dawn::native::Instance's member method. Some code base don't use dawn::native::Instance but instead use wgpu::Instance. And InstanceProcessEvents() function actually returns a bool unlike wgpu::Instance::ProcessEvents() which returns void. Bug: dawn:752 Change-Id: Ia354a4ed5b5568ee23bcc70935c104059a9f6fc8 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125660 Reviewed-by: Austin Eng <enga@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Quyen Le <lehoangquyen@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 the webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.