commit | 0c66bcd13a5426a56635d0e17ce85ff6e7595158 | [log] [tgz] |
---|---|---|
author | Austin Eng <enga@chromium.org> | Wed Jan 15 18:22:53 2020 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Wed Jan 15 18:22:53 2020 +0000 |
tree | 795d179b999924367d1a0e9a1ae39f8589740f5f | |
parent | 855a24b150802b3c06da569b7894a8c9aa903fd1 [diff] |
Reland "Metal: Add CommandRecordingContext" This is a reland of 2b3975f808fd6f5afc5a52e58a3dcd5e73984b17 The previous CL failed to retain autoreleased ObjC objects which should live longer than the autoreleasepool block. This reland fixes the issue and adds tests for it. Original change's description: > Metal: Add CommandRecordingContext > > Introduces the idea of a CommandRecordingContext to the Metal backend, > similar to other backends. This is a class to track which Metal encoder > is open on the device-global pending MTLCommandBuffer. > It will be needed to open/close encoders for lazy clearing. > > Bug: dawn:145 > Change-Id: Ief6b71a079d73943677d2b61382d1c36b88a4f87 > Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/14780 > Reviewed-by: Corentin Wallez <cwallez@chromium.org> > Reviewed-by: Kai Ninomiya <kainino@chromium.org> > Commit-Queue: Austin Eng <enga@chromium.org> Bug: dawn:145 Change-Id: I67494b35225ce8f6443a3fa9787d054522e5d422 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/15042 Commit-Queue: Austin Eng <enga@chromium.org> Reviewed-by: Corentin Wallez <cwallez@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.