D3D11: Use blocking waits for last submitted serial in DelayFlushQueue Previously, D3D11's DelayFlushQueue relied on ID3D11Query for command buffer completion signals. While ID3D11Query is generally efficient, waiting for it often involved CPU-intensive spin-waiting, which could hinder the use of less powerful CPU cores. This update introduces a minor but significant optimization: by utilizing a blocking Win32 event for the last submitted serial's wait, we eliminate spin-waiting and improve overall CPU resource management. Bug: chromium:430308396 Change-Id: I3965e20b103d39b2bd8e464e14692dd1bc9a8a7c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/251554 Commit-Queue: Quyen Le <lehoangquyen@chromium.org> Reviewed-by: Corentin Wallez <cwallez@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.