commit | b4d8c8012bb5ea18b966b783b784878d84404e11 | [log] [tgz] |
---|---|---|
author | Yan,Shaobo <shaobo.yan@intel.com> | Wed Oct 26 00:58:46 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Oct 26 00:58:46 2022 +0000 |
tree | 8d2bfce53eaefdeb7d36f74d410c236bed0d3d7e | |
parent | 0640c8107304ea0e776df1a09fd3efcf58b2dd2a [diff] |
Reland "Add CopyExternalTextureForBrowser()" This is a reland of commit f392c38b67ca8456d448076b70dca87db02bb990 The new added structure ImageCopyExternalTexture used in dawn only. Adding tags : ["dawn"] to fix compile error. Original change's description: > Add CopyExternalTextureForBrowser() > > This API accept ExternalTexture object as copy source and a dawn 2D texture > as destination. It has similar functions as CopyTextureForBrowser(). > The API is used to support cases that source images are multi-planar format > and want to do conversion and uploading to a dawn 2D texture. > > Bug: chromium:1361363 > Change-Id: Ie390acfb95b47d417f4a8faa2d1e19163d549154 > Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/105880 > Commit-Queue: Shaobo Yan <shaobo.yan@intel.com> > Reviewed-by: Austin Eng <enga@chromium.org> > Reviewed-by: Corentin Wallez <cwallez@chromium.org> Bug: chromium:1361363 Change-Id: I213c3dc7fe81ccc35050592e491995d0d5425f6e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/106883 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Shaobo Yan <shaobo.yan@intel.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 the webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.