commit | 598a6bdb89cb528455dd5f1c3617ad13bc8e5399 | [log] [tgz] |
---|---|---|
author | Lokbondo Kung <lokokung@google.com> | Wed May 21 20:36:23 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed May 21 20:36:23 2025 -0700 |
tree | 0c5ebe374b7eefc326d651ed54ac92bf5c622db9 | |
parent | d3d87508c7f8be529d54bba2e19294eb73c3f32b [diff] |
[dawn][native] Re-order EventManager callback vs tracking. - With spontaneous events in the work, it became possible for races where a two threads can race on checking if an event was tracked. As a result, we need to guarantee that callbacks have been fired before untracking events. Otherwise, races could see that an event was untracked, assume it's complete, but find that it wasn't actually fully complete yet since the other thread didn't run the callback yet. Bug: 412761228 Change-Id: Ic660b8ad2cebec50549a873f55960a2beed216fe Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/243414 Commit-Queue: Kai Ninomiya <kainino@chromium.org> Auto-Submit: Loko Kung <lokokung@google.com> Reviewed-by: Kai Ninomiya <kainino@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.