• Home
Name Date Size #Lines LOC

..--

build_overrides/06-Mar-2025-295252

docs/06-Mar-2025-1,3271,076

examples/06-Mar-2025-1,9951,495

generator/06-Mar-2025-6,5904,668

infra/06-Mar-2025-1,6091,490

scripts/06-Mar-2025-742545

src/06-Mar-2025-189,985132,187

third_party/06-Mar-2025-67,98364,143

.clang-formatD06-Mar-2025466 2114

.gitattributesD06-Mar-202555 54

.gitignoreD06-Mar-20251.5 KiB10189

.gnD06-Mar-20251.7 KiB4739

AUTHORSD06-Mar-2025293 76

BUILD.gnD06-Mar-2025988 3430

CMakeLists.txtD06-Mar-20259.9 KiB251217

DEPSD06-Mar-20259.7 KiB302277

DIR_METADATAD06-Mar-202547 43

LICENSED06-Mar-202512.7 KiB236194

OWNERSD06-Mar-2025228 129

PRESUBMIT.pyD06-Mar-20251.2 KiB3917

README.chromiumD06-Mar-2025439 1311

README.mdD06-Mar-20252.2 KiB5337

codereview.settingsD06-Mar-2025233 65

dawn.jsonD06-Mar-2025102.8 KiB2,6922,651

dawn_wire.jsonD06-Mar-20259.2 KiB192189

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![Dawn's logo: a sun rising behind a stylized mountain inspired by the WebGPU logo. The text "Dawn" is written below it.](docs/logo/dawn_logo.png "Dawn's logo")
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