commit | 559ee08957eeb78e65ec7507ea1673b75ef0e05d | [log] [tgz] |
---|---|---|
author | Peng Huang <penghuang@chromium.org> | Fri Nov 03 17:47:06 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Nov 03 17:47:06 2023 +0000 |
tree | fb4806e702b107bcb88c03ec4fe49f6aee62bc85 | |
parent | e87ed7ffe4625df8dad288ad1a7f1e31b767990a [diff] |
d3d11: support creating webgpu::Device from an external d3d11 device To support using an external d3d11 device, d3d11::Queue will swap the D3DDeviceContextState of the D3D11DeviceContext before executing dawn command buffers, and restore to previous D3DDeviceContextState after executing dawn command buffers. Bug: dawn:1938 Change-Id: I33d8541e3975f7e9cfd9e270cacea78461449d74 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/157960 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Peng Huang <penghuang@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.