xref: /aosp_15_r20/external/skia/modules/canvaskit/future_apis/WebGPU.md (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1*c8dee2aaSAndroid Build Coastguard Worker# WebGPU API
2*c8dee2aaSAndroid Build Coastguard Worker
3*c8dee2aaSAndroid Build Coastguard WorkerDate Updated: June 16, 2020
4*c8dee2aaSAndroid Build Coastguard Worker
5*c8dee2aaSAndroid Build Coastguard Worker## Summary and Links
6*c8dee2aaSAndroid Build Coastguard Worker
7*c8dee2aaSAndroid Build Coastguard WorkerWebGPU exposes an API for performing operations, such as rendering and computation,
8*c8dee2aaSAndroid Build Coastguard Workeron a Graphics Processing Unit. [Dawn](https://dawn.googlesource.com/dawn) is the underlying
9*c8dee2aaSAndroid Build Coastguard Workerimplementation of WebGPU in chromium. In the future, with
10*c8dee2aaSAndroid Build Coastguard Worker[WebGPU bindings provided by emscripten](https://github.com/emscripten-core/emscripten/pull/10218),
11*c8dee2aaSAndroid Build Coastguard WorkerCanvasKit should be able to use a WebGPU rendering device.
12*c8dee2aaSAndroid Build Coastguard Worker
13*c8dee2aaSAndroid Build Coastguard Worker- [W.I.P. Specification](https://gpuweb.github.io/gpuweb/)
14*c8dee2aaSAndroid Build Coastguard Worker- [WebGPU Samples](https://austineng.github.io/webgpu-samples/)
15*c8dee2aaSAndroid Build Coastguard Worker- [Implementation Status](https://github.com/gpuweb/gpuweb/wiki/Implementation-Status)
16*c8dee2aaSAndroid Build Coastguard Worker
17*c8dee2aaSAndroid Build Coastguard WorkerSome features are currently available in Chrome Canary behind the `--enable-unsafe-webgpu` flag.
18