commit | 8c6c80307665afe6df3c9c0d7b504c5a5fb7c984 | [log] [tgz] |
---|---|---|
author | Sunny Sachanandani <sunnyps@chromium.org> | Thu May 16 00:31:39 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu May 16 00:31:39 2024 +0000 |
tree | 8a6e8061a98fb457dd2cb5dfe4ef99b3819720d8 | |
parent | f6866928f8ac4778cbcb05b0bfa713123131bb36 [diff] |
d3d11: Drop D3D11 native resources in DestroyImpl d3d11::TextureView was keeping the associated D3D11 texture alive after Destroy() via its SRV, DSV, etc. Ensure these are cleaned up correctly, and also handle a similar leak in d3d11::Buffer. With these a massive Chrome Graphite memory regression is fixed. Bug: 336318604 Change-Id: Idfa344fb9d899cc2cd7654eb725dfd1080d8d50d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/188480 Auto-Submit: Sunny Sachanandani <sunnyps@chromium.org> Reviewed-by: Peng Huang <penghuang@chromium.org> Commit-Queue: Sunny Sachanandani <sunnyps@chromium.org> Commit-Queue: Peng Huang <penghuang@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.