commit | 5ca64904963dc4676216ddfd226779522c271540 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Wed Feb 19 06:32:26 2025 -0800 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Feb 19 06:32:26 2025 -0800 |
tree | 8fc2e5e70ef91f2d82080a9f8868da6a4b25c9bb | |
parent | 96a1f6c1fce1fe7a84d3836fea06ed3b46bc7040 [diff] |
[dawn][native] Better control lifetime of transient uploads. Instead of requesting an upload region that's returned from the DynamicUploader, use a pattern where a functor is passed to make the DynamicUploader tightly control the lifetime of it. In follow-up CLs it will be used to determine how much data is pending a submit and trigger opportunistic flushes. Bug: 42242066 Change-Id: I860f74e79834217341523af237312eadb37bc7c4 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/226415 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Geoff Lang <geofflang@chromium.org> Reviewed-by: Jiawei Shao <jiawei.shao@intel.com>
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.