| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | - | - | ||||
| build_overrides/ | 06-Mar-2025 | - | 295 | 252 | ||
| docs/ | 06-Mar-2025 | - | 1,327 | 1,076 | ||
| examples/ | 06-Mar-2025 | - | 1,995 | 1,495 | ||
| generator/ | 06-Mar-2025 | - | 6,590 | 4,668 | ||
| infra/ | 06-Mar-2025 | - | 1,609 | 1,490 | ||
| scripts/ | 06-Mar-2025 | - | 742 | 545 | ||
| src/ | 06-Mar-2025 | - | 189,985 | 132,187 | ||
| third_party/ | 06-Mar-2025 | - | 67,983 | 64,143 | ||
| .clang-format | D | 06-Mar-2025 | 466 | 21 | 14 | |
| .gitattributes | D | 06-Mar-2025 | 55 | 5 | 4 | |
| .gitignore | D | 06-Mar-2025 | 1.5 KiB | 101 | 89 | |
| .gn | D | 06-Mar-2025 | 1.7 KiB | 47 | 39 | |
| AUTHORS | D | 06-Mar-2025 | 293 | 7 | 6 | |
| BUILD.gn | D | 06-Mar-2025 | 988 | 34 | 30 | |
| CMakeLists.txt | D | 06-Mar-2025 | 9.9 KiB | 251 | 217 | |
| DEPS | D | 06-Mar-2025 | 9.7 KiB | 302 | 277 | |
| DIR_METADATA | D | 06-Mar-2025 | 47 | 4 | 3 | |
| LICENSE | D | 06-Mar-2025 | 12.7 KiB | 236 | 194 | |
| OWNERS | D | 06-Mar-2025 | 228 | 12 | 9 | |
| PRESUBMIT.py | D | 06-Mar-2025 | 1.2 KiB | 39 | 17 | |
| README.chromium | D | 06-Mar-2025 | 439 | 13 | 11 | |
| README.md | D | 06-Mar-2025 | 2.2 KiB | 53 | 37 | |
| codereview.settings | D | 06-Mar-2025 | 233 | 6 | 5 | |
| dawn.json | D | 06-Mar-2025 | 102.8 KiB | 2,692 | 2,651 | |
| dawn_wire.json | D | 06-Mar-2025 | 9.2 KiB | 192 | 189 |
README.chromium
1Name: Dawn 2Short Name: dawn 3URL: https://dawn.googlesource.com/dawn 4License: Apache 2.0 5License File: LICENSE 6Security Critical: yes 7 8Description: 9Dawn is an implementation of the WebGPU standard exposed through a C/C++ 10interface. It provides implementations on top of native graphics APIs like 11D3D12, Metal and Vulkan, as well as a client-server implementation to remote 12WebGPU outside sandboxed context like Chromium's render processes. 13
README.md
1 2 3# Dawn, a WebGPU implementation 4 5Dawn is an open-source and cross-platform implementation of the work-in-progress [WebGPU](https://webgpu.dev) standard. 6More precisely it implements [`webgpu.h`](https://github.com/webgpu-native/webgpu-headers/blob/master/webgpu.h) that is a one-to-one mapping with the WebGPU IDL. 7Dawn is meant to be integrated as part of a larger system and is the underlying implementation of WebGPU in Chromium. 8 9Dawn provides several WebGPU building blocks: 10 - **WebGPU C/C++ headers** that applications and other building blocks use. 11 - The `webgpu.h` version that Dawn implements. 12 - A C++ wrapper for the `webgpu.h`. 13 - **A "native" implementation of WebGPU** using platforms' GPU APIs: 14 - **D3D12** on Windows 10 15 - **Metal** on macOS and iOS 16 - **Vulkan** on Windows, Linux, ChromeOS, Android and Fuchsia 17 - OpenGL as best effort where available 18 - **A client-server implementation of WebGPU** for applications that are in a sandbox without access to native drivers 19 20Helpful links: 21 22 - [Dawn's bug tracker](https://bugs.chromium.org/p/dawn/issues/entry) if you find issues with Dawn. 23 - [Dawn's mailing list](https://groups.google.com/forum/#!members/dawn-graphics) for other discussions related to Dawn. 24 - [Dawn's source code](https://dawn.googlesource.com/dawn) 25 - [Dawn's Matrix chatroom](https://matrix.to/#/#webgpu-dawn:matrix.org) for live discussion around contributing or using Dawn. 26 - [WebGPU's Matrix chatroom](https://matrix.to/#/#WebGPU:matrix.org) 27 28## Documentation table of content 29 30Developer documentation: 31 32 - [Dawn overview](docs/overview.md) 33 - [Building Dawn](docs/building.md) 34 - [Contributing to Dawn](docs/contributing.md) 35 - [Testing Dawn](docs/testing.md) 36 - [Debugging Dawn](docs/debugging.md) 37 - [Dawn's infrastructure](docs/infra.md) 38 - [Dawn errors](docs/errors.md) 39 40User documentation: (TODO, figure out what overlaps with the webgpu.h docs) 41 42## Status 43 44(TODO) 45 46## License 47 48Apache 2.0 Public License, please see [LICENSE](/LICENSE). 49 50## Disclaimer 51 52This is not an officially supported Google product. 53