commit | db8766bb239bed8a49c7a8561e4d42d6733b497e | [log] [tgz] |
---|---|---|
author | Yan, Shaobo <shaobo.yan@intel.com> | Wed Nov 04 02:30:16 2020 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Wed Nov 04 02:30:16 2020 +0000 |
tree | 28986a1b07f4fa47c23c1964f23ca30796710d92 | |
parent | 131e619fe4109fd2bfa26e13dfade7d7a1967346 [diff] |
Support internal pipelines for Dawn Like copyTextureCHROMIUM in Chromium, CopyImageBitmapToTexture can use internal pipeline to do the GPU uploading. But Dawn doesn't support internal pipeline now. This patch adds the first internal pipeline for Dawn and add the API CopyTextureForBrowser to use internal pipeline to do gpu uploading. The patch integrates very simple wgsl vertex/fragment shaders to do simple direct blit to verify the whole system works. BUG=dawn:465 Change-Id: I8b566af38a10eea00f7426c39e752958ef057abd Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/30960 Commit-Queue: Shaobo Yan <shaobo.yan@intel.com> Reviewed-by: Austin Eng <enga@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.