Reduce aggressive WebGPU command flushing
Instead of eagerly flushing commands whenever there is a pending callback, enqueue a microtask if one hasn't been already, to perform a flush if it is still needed. This optimization prevents excess IPC flushes. Bug: none Change-Id: Icc48978fdc5d6a54ef61f9379bb4c78d3c75e08a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2380084Reviewed-by:Kai Ninomiya <kainino@chromium.org> Reviewed-by:
Corentin Wallez <cwallez@chromium.org> Commit-Queue: Austin Eng <enga@chromium.org> Cr-Commit-Position: refs/heads/master@{#803560}
Showing
Please register or sign in to comment