commit | 1325ab1251774655a1b57c387010d1e4c2bf9f6c | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Tue Jun 30 11:51:14 2020 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Tue Jun 30 11:51:14 2020 +0000 |
tree | dc433da138ed7133035bd2a50e5569236bb375bd | |
parent | 2008d15326a7249d783b616fe52d9f75f6bcf285 [diff] |
Add Buffer::Get[|Const]MappedRange This CL adds GetMappedRange reusing the existing GetMappedPointerImpl call in dawn_native. In dawn_wire tracking is added to keep a Buffer::mMappedData around. Tests are added to test the result of Get[|Const]MappedRange in all buffer states. Bug: dawn:445 Change-Id: I3737dc4d36f31d392839952da0b5c0d10c7c8a88 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/23861 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Kai Ninomiya <kainino@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 webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.