commit | 0d20b2b2b77db03010af1963d35d4d93296f3518 | [log] [tgz] |
---|---|---|
author | Rafael Cintron <rafael.cintron@microsoft.com> | Wed Nov 30 21:40:59 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Nov 30 21:40:59 2022 +0000 |
tree | 0cc952b52859fdbe97446be4b2db0bbae4d34ba3 | |
parent | 85ceb08d5ca7896605878551ad164d293dcc16d7 [diff] |
Destroy ResourceAllocationManager in d3d12::Device::DestroyImpl Since the ZeroBuffer (4MB) is released in DestroyImpl, it sticks around in the resource allocation manager, along with a large amount of unneeded tracking data structures. To further reduce memory consumption after developers Destroy, we now delete the ResourceAllocationManager in DestroyImpl and ensure any remaining objects go through the same shutdown path as normal usage. Placed resources must be released before any heaps they reside in. Bug: chromium:1377789 Change-Id: I7a0f6ad2fdcc60bfe5a51586c8a620f4862c38a5 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/111601 Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Rafael Cintron <rafael.cintron@microsoft.com> Kokoro: Kokoro <noreply+kokoro@google.com>
Dawn is an open-source and cross-platform implementation of the work-in-progress 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)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.