commit | b624179f5941342bb1d912dadd7b8d31d15bbde2 | [log] [tgz] |
---|---|---|
author | Qiu Jianlin <jianlin.qiu@intel.com> | Wed Nov 08 08:22:05 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Nov 08 08:22:05 2023 +0000 |
tree | 8436bf836f30da7912594fe3b5c14f4ad7211015 | |
parent | 536b97400a8628b0f754baeecca4e53fd9c6aab9 [diff] |
d3d12: Add GetD3D12Device for querying ID3D12Device from WGPUDevice. Chrome will needs to get a ID3D12Device for decoder/DComp. Currently Chrome's D3D11 decoder fetch the device from ANGLE/Dawn, while for D3D12 it creates the device by itself maybe using different setup(feature levels, etc) from ANGLE/Dawn. Though the device is per-adapter, the behavior of the creation with different setup is unclear. To make sure decoder and renderer are always consistent on the device settings, we better share the device from ANGLE/Dawn if possible. Bug: dawn:2210 Change-Id: I4c700bab7c1e176e23f18fce9ed18703e3670984 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/159480 Commit-Queue: Jiawei Shao <jiawei.shao@intel.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Jiawei Shao <jiawei.shao@intel.com> Reviewed-by: Corentin Wallez <cwallez@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)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.