CMake: update backend selection The single DAWN_ENABLE_OPENGL flag in the root CMakeLists.txt did not define DAWN_ENABLE_BACKEND_DESKTOP_GL or DAWN_ENABLE_BACKEND_OPENGLES, so examples with `-b opengl` reported `Backend isn't present` and failed to start. ENABLE_OPENGL flag in root CMakeLists.txt was replaced by ENABLE_DESKTOP_GL and ENABLE_OPENGLES flags, repeating the logic of similar flags in GN buildsystem as done in src/common/BUILD.gn and scripts/dawn_features.gni. Change-Id: I6302de7aa98436ddc0aa002d83dd6b3e7102e49c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/56283 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Sergey K <sergey.ext@gmail.com>
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.