commit | 31f039350b821b265b6759ad0c877ec90deab5bd | [log] [tgz] |
---|---|---|
author | Bryan Bernhart <bryan.bernhart@intel.com> | Thu Aug 12 23:32:49 2021 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Aug 12 23:32:49 2021 +0000 |
tree | e439a10a93c460e9e714c70610ab13d3097b8f15 | |
parent | f209e8ba83eb74f88ed695235142c9f4db83ce33 [diff] |
D3D12: Cache DXGI keyed mutexes on the external image. Maintains a 11on12 resource cache on the external image to prevent re-creating the wrapped resource then flushing it per produced texture. To prevent unbounded growth, a basic cap is used which gets cleared. This change fixes signficant CPU time spent in the WebGPU command decoder for video import workloads and excessive memory overhead from swap chain buffers. Fixed: dawn:625 Change-Id: I72c07b02f6ab6877a9f21758650962c895933bf9 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/51421 Commit-Queue: Bryan Bernhart <bryan.bernhart@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)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.