commit | 8150d1cf81acc31935c8f5045aa94c5d458d7de8 | [log] [tgz] |
---|---|---|
author | Yan,Shaobo <shaobo.yan@intel.com> | Fri Mar 24 03:43:56 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Mar 24 03:43:56 2023 +0000 |
tree | cfeec80c06ab49520e4c169beafcbe82c6d939a3 | |
parent | a671247872ee5bad65f25053c16d5e5b095b9d81 [diff] |
Add natural size in imageCopyExternalTexture CopyExternalTextureForBrowser() uses external texture visible rect as source size in previous. But video frame natural size is the only one developer could get from HTMLVideoElement and it means the size browser present video on screen. This CL add "natural size" in imageCopyExternalTexture and uses this size as CopyExternalTextureForBrowser() source size. Bug:dawn:1694 Change-Id: I2a3bfa8e689df11d1d13320d40ad02c7090425e5 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/123380 Commit-Queue: Shaobo Yan <shaobo.yan@intel.com> Reviewed-by: Austin Eng <enga@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.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.