| commit | d42f4b3ca5ffde2e225714ac3b439df8b60e4d56 | [log] [tgz] |
|---|---|---|
| author | Yan, Shaobo <shaobo.yan@intel.com> | Tue Mar 23 02:09:37 2021 +0000 |
| committer | Commit Bot service account <commit-bot@chromium.org> | Tue Mar 23 02:09:37 2021 +0000 |
| tree | f5b040bf8139b768119eecad29a0bcd40d77a980 | |
| parent | 97da45c373e163aa5505de1bbfe5d317b596fadf [diff] |
Reland "CopyTextureForBrowser: Support color format conversion" This is a reland of f84daa070f05eb80672a9a23e23aed205fe72a5e Eliminate static initializer(disallowed in Chromium) by replacing shader string living in anonymous namespace from type "std::string" to char array. Original change's description: > CopyTextureForBrowser: Support color format conversion > > This CL enables blit from RGBA8Unorm soruce texture to dst texture that > |CopyImageBitmapToTexture| supported dst format. > > BUG=dawn:465 > > Change-Id: I99846cf8dc37bc89e0c168a3d86193bb3a0c0ebb > Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/44020 > Commit-Queue: Shaobo Yan <shaobo.yan@intel.com> > Reviewed-by: Corentin Wallez <cwallez@chromium.org> > Reviewed-by: Austin Eng <enga@chromium.org> Bug: dawn:465 Change-Id: Ic3a156f5a20b217fd2aa5f86b01bad8ce77dc41c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45443 Commit-Queue: Shaobo Yan <shaobo.yan@intel.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org> 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.