commit | 3a75b1cea88db595b1825181c548e83170254865 | [log] [tgz] |
---|---|---|
author | Sergey Karchevsky <sergey.ext@gmail.com> | Wed Jun 30 15:06:43 2021 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jun 30 15:06:43 2021 +0000 |
tree | faf32a7e31b1fb2545ef6e8d6b08e7f2f2ba8973 | |
parent | bf832f07d616598aed659d5603f461ba9cd4ee43 [diff] |
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.