commit | ab4485f86cae89b8c0595668ffccdae5903cfbbe | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Thu Dec 12 10:40:22 2019 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Thu Dec 12 10:40:22 2019 +0000 |
tree | 001ec48430c238b81ab43023926334649ca33aff | |
parent | 73c5573f1f95aa783a51658d4ce58be69e45e5c1 [diff] |
RefCounted: use more precise barriers This improves the DrawCallPerfRun/Vulkan_NoReuseBindGroups benchmark by 2% on an Intel processor but should be a bigger improvement on ARM. The change was inspired by the Boost documentation at https://www.boost.org/doc/libs/1_55_0/doc/html/atomic/usage_examples.html Chromium's base::AtomicRefCount implementation and Rust's core::Arc implementation. BUG=dawn:304 Change-Id: I7ca71f34af20fd267cf2efc63871ff330b1dcc7c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/14482 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: David Turner <digit@google.com>
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 webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.