| commit | 16b3c288a3144342908f6b8b7aede057c40528bd | [log] [tgz] |
|---|---|---|
| author | Jie Chen <jie.a.chen@intel.com> | Sat Jan 06 04:12:38 2024 +0000 |
| committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sat Jan 06 04:12:38 2024 +0000 |
| tree | 6919440c62022665c88598cb8687119682852392 | |
| parent | a2ecc195c6da56ebfa3846fdf1be0b86654ecea6 [diff] |
d3d11: Cache the staging buffer for WriteInternal The overhead of creating a new staging buffer for each write is not trivial. This caches a handy staging buffer in DeviceD3D11 to eliminate the overhead. Bug: chromium:1485789 Change-Id: Iaced53ffdb080b07dddf59f9bf54f05b5f2a7a41 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/167180 Reviewed-by: Peng Huang <penghuang@chromium.org> Reviewed-by: Peng Huang <penghuang@google.com> Commit-Queue: Jie A Chen <jie.a.chen@intel.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Austin Eng <enga@chromium.org>
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.