commit | e9e07cc6e20a9200b4a9481a0e7a6f8ec9ca9ed6 | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Fri Aug 16 00:36:51 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Aug 16 00:36:51 2024 +0000 |
tree | e59aefdf122cb75187cf8202bb3f7bae8dcf5956 | |
parent | 57d362a8e9cf2f9aeaad9818af501de8728f3106 [diff] |
More code clean-ups after creating DeviceMock with Adapter This patch does more code clean-ups in Device.cpp after we update the creation of DeviceMock with Adapter: 1. Remove the `virtual` qualifier on the member functions `GetInstance()` and `GetPlatform()` of class `DeviceBase` after the removal of these overloads in the Mock tests. 2. Remove the check on the nullability of `mAdapter` in `DeviceBase`. Bug: chromium:42240655 Test: dawn_unittests Change-Id: I11ba819d2724ed32300131fbdc773299e465c72e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/202497 Commit-Queue: Jiawei Shao <jiawei.shao@intel.com> Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Loko Kung <lokokung@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.