commit | c73c5108772f1e2c0c3d335ba2dc7aa7cdbb15ea | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Tue Jan 09 02:03:59 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jan 09 02:03:59 2024 +0000 |
tree | 2ed4787869a431467fa2ce7a377f876fc3c0ca1b | |
parent | db29b3b27c500b51d6c514b7a3d6f9a259cde05a [diff] |
Use absl::flat_hash_set in dawn/native This patch replaces std::set and std::unordered_set with absl::flat_hash_set in dawn_native when possible. Now in dawn/native we still use std::set on below types as we haven't defined how to compute hash on them: - BindingNumber - Ref<> objects (e.g. Ref<Device>) Bug: dawn:1513 Change-Id: Id1a116adbccdcba093f6fc30a7e4edb9210b6f9e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/168563 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Jiawei Shao <jiawei.shao@intel.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.