commit | 9aadf94c15a1ec4c4e93e1953c39f33750a7a784 | [log] [tgz] |
---|---|---|
author | Austin Eng <enga@chromium.org> | Tue Apr 20 17:53:50 2021 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Tue Apr 20 17:53:50 2021 +0000 |
tree | 4dc332905ea6aaa33a0fece53679064da91ca8db | |
parent | cd39ade86f56b5d45224b903e96c2634bf119779 [diff] |
SlabAllocator: Fix writing to freed memory on slab destruction unique_ptr's destructor sets itself to null and frees its owned memory. This is a problem because for the slab allocator, the member variable holding the unique_ptr is inside the freed memory. Bug: skia:10501 Change-Id: I41179261041fe415bb2af3667114b079f61b3c7b Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/48100 Auto-Submit: Austin Eng <enga@chromium.org> Reviewed-by: Stephen White <senorblanco@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Austin Eng <enga@chromium.org>
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.