commit | f392c38b67ca8456d448076b70dca87db02bb990 | [log] [tgz] |
---|---|---|
author | Yan,Shaobo <shaobo.yan@intel.com> | Mon Oct 24 06:03:22 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Oct 24 06:03:22 2022 +0000 |
tree | c31b5349af3d62e9c24ae4bddf788115bb0c3b67 | |
parent | 96a0bd5bdf7c151fa5b8c796461ee6ec25263ffe [diff] |
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>
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.