CMake-only fork of https://dawn.googlesource.com/dawn with cleaned, vendored dependencies
Go to file
Corentin Wallez b2ea1915d4 Implement GPUBufferDescriptor.mappedAtCreation.
This CL:

 - Adds mappedAtCreation to dawn.json
 - Changes dawn_native to implement CreateBufferMapped in terms of
   mappedAtCreation.
 - Duplicates all the CreateBufferMappedTests to mappedAtCreation tests
   (both validation and end2end).
 - Implements dawn_wire's mappedAtCreation in terms of
   CreateBufferMapped. The reversal in dawn_wire will be done in a
   follow-up CL.

Bug: dawn:445

Change-Id: I70b9fa729b1402524a6b993c3f288987eb65c6c4
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/24083
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
2020-07-07 11:21:51 +00:00
build_overrides
docs
examples Deprecate TextureCopyView::arrayLayer -> origin.z 2020-06-16 03:05:17 +00:00
generator dawn_wire/client: Add ToAPI and FromAPI helpers. 2020-06-30 18:39:50 +00:00
infra/config
scripts Update path of third_party/spirv-tools to SPIRV-Tools 2020-07-06 21:31:00 +00:00
src Implement GPUBufferDescriptor.mappedAtCreation. 2020-07-07 11:21:51 +00:00
third_party
tools/memory/asan
.clang-format
.gitattributes
.gitignore
.gn
AUTHORS
BUILD.gn
CMakeLists.txt
CONTRIBUTING.md
DEPS Roll third_party/swiftshader/ d25ce8725..f6f11215c (155 commits) 2020-07-07 10:24:41 +00:00
LICENSE
OWNERS
PRESUBMIT.py
README.chromium
README.md
codereview.settings
dawn.json Implement GPUBufferDescriptor.mappedAtCreation. 2020-07-07 11:21:51 +00:00
dawn_wire.json dawn_wire: Remove client/ApiProcs_autogen.h 2020-06-30 18:26:30 +00:00

README.md

Dawn, a WebGPU implementation

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 C/C++ headers that applications and other building blocks use.
    • The webgpu.h version that Dawn implements.
    • A C++ wrapper for the webgpu.h.
  • A "native" implementation of WebGPU using platforms' GPU APIs:
    • D3D12 on Windows 10
    • Metal on macOS and iOS
    • Vulkan on Windows, Linux, ChromeOS, Android and Fuchsia
    • OpenGL as best effort where available
  • A client-server implementation of WebGPU for applications that are in a sandbox without access to native drivers

Helpful links:

Documentation table of content

Developer documentation:

User documentation: (TODO, figure out what overlaps with webgpu.h docs)

Status

(TODO)

License

Apache 2.0 Public License, please see LICENSE.

Disclaimer

This is not an officially supported Google product.