commit | 5b45794c2c24c3fa40dc480af92c5284a95423ef | [log] [tgz] |
---|---|---|
author | Peng Huang <penghuang@chromium.org> | Mon Jan 22 20:26:55 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jan 22 20:26:55 2024 +0000 |
tree | 390c72e97c2e0cac6886f88690aa76ff10203de6 | |
parent | a3d7f04a4344221e56485da7c4d166d8161ddeee [diff] |
Fix a memory leaking during device destroy d3d11::Device holds ref for some objects. However those objects may hold ref of the Device as well. It will cause circular ref. Fix the problem by releasing refs in d3d11::Device::Destroy(). Bug: none Change-Id: I1de13c700cdd616b8a1a5443edac77c23286db06 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/171080 Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Peng Huang <penghuang@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.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.