commit | d3b8c489a11b92e9d67019c3764a3f51b3f7a6f6 | [log] [tgz] |
---|---|---|
author | Peng Huang <penghuang@chromium.org> | Wed Jan 18 14:40:07 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jan 18 14:40:07 2023 +0000 |
tree | c4ef183250c9f94f42b4745a8ebfc94a18202901 | |
parent | 432da9588db5e4cb9b8c1d4df5da58cbfba614da [diff] |
Merge two queue submissions in Queue::SubmitImpl() Currently Queue::SubmitImpl() may cause two queue submissions, one is because of Tick() call which will submit pending commands if there are. The other one is after converting frontend commands to backend command buffer. Queue::SubmitImpl() will submit converted commands. However usually queue submissions are expensive, so merge those two queue submissions into one by not calling Tick() before converting frontend commands, so pending commands and recorded commands can be submitted together. After that, we call Tick() to resolve callbacks and perform bookkeeping operations (deallocating memory for passed operations, etc). Bug: b/265151060 Change-Id: Ia171771bcc1061dc599a58aa6d213a645696fb75 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/116929 Auto-Submit: Peng Huang <penghuang@chromium.org> Kokoro: Ben Clayton <bclayton@google.com> Reviewed-by: Austin Eng <enga@chromium.org> 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)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.