commit | 18dfc4797c117849d79b0caeab38d702360a33e0 | [log] [tgz] |
---|---|---|
author | Loko Kung <lokokung@google.com> | Thu Sep 15 21:06:51 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Sep 15 21:06:51 2022 +0000 |
tree | ce9f64b52d57b7f243b89c50a38f06729d84f88e | |
parent | 9c07d3c52c0418b6b077f68b9b7d03efc2acff1c [diff] |
Track TextureViews in Textures so that they can be chain-destroyed. - Adds Prepend function to LinkedList to avoid directly using the insert functions on the LinkNodes. (And tests for this as well.) - Adds ApiObjectList class for tracking lists of objects for destruction. - Renames and virtualizes some tracking interfaces so that they can be overriden for the TextureView/Texture cases. - Removes explicit destroying of TextureViews from Device since destroying Textures will destroy TextureViews now. Fixed: dawn:1355 Change-Id: I3522383ea7724d6e41ac0c805793a6c34d9bec27 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101762 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Loko Kung <lokokung@google.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.