commit | 5975d5710055728034f8bd6902f3e69ba45460cf | [log] [tgz] |
---|---|---|
author | Sunny Sachanandani <sunnyps@chromium.org> | Wed Apr 17 19:48:29 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Apr 17 19:48:29 2024 +0000 |
tree | 9b1f799dc77b06c7999d4e41650b898b0b0c0526 | |
parent | 7da510a0336e7f2c793449a773db119aa1aaa131 [diff] |
Chromium memory instrumentation support in Dawn Expose an interface to integrate with Chromium memory instrumentation, and implement memory dumps for a few important object types like buffers and textures. These implementations are simplistic e.g. using estimated byte size for textures, but they work cross-platform and per-platform implementations can be added later e.g. to dump resource heap usage. Bug: chromium:330806170 Change-Id: I2b7b5f96268b69100d13b635e26bed5ccbcd9792 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/180180 Commit-Queue: Austin Eng <enga@chromium.org> Auto-Submit: Sunny Sachanandani <sunnyps@chromium.org> Reviewed-by: Austin Eng <enga@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.