commit | a9e4caf6b5ea0c21d370a0c56134498c47619b11 | [log] [tgz] |
---|---|---|
author | Austin Eng <enga@chromium.org> | Tue Apr 16 07:42:24 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Apr 16 07:42:24 2024 +0000 |
tree | bd0db8eced5b3e6dcb3510c678739a8db43e89aa | |
parent | 4cb74f447cb75eae5be5019f897b8e89e766d940 [diff] |
Make the C++ api header-only The goal is to make it much easier to use alternative C++ wrappers (in different namespaces) that may wrap dawn::native or dawn::wire directly. Across Chrome, in //gpu, Skia, and Dawn, this change has a zero-sized net impact on Android binary size. This change caught some BUILD.gn issues where the samples depended on dawn:proc_shared when their deps also depended on dawn:proc(static), leading to duplicate symbol collisions. Bug: chromium:40195122 Change-Id: I873776464c5017b7a439acf03a8a6274cd91badf Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/175947 Auto-Submit: Austin Eng <enga@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
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.