Add a target for the GLFW surface helper. This CL moves the GLFWUtils.cpp into a dawn/glfw/utils.cpp and GLFWUtils.h into include/webgpu/webgpu_glfw.h. A build target (`webgpu_glfw` alias to `dawn_glfw`) is added in order to allow using that target in downstream projects without having to re-implement. Change-Id: I93e85d5af3f486b3c754f2f854aafbda51901d6d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98700 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Dan Sinclair <dsinclair@chromium.org> Reviewed-by: Corentin Wallez <cwallez@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.