commit | 80131d2d52b4bc302df0939cb7044c5f41689bab | [log] [tgz] |
---|---|---|
author | Yan,Shaobo <shaobo.yan@intel.com> | Thu Feb 01 09:20:26 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Feb 01 09:20:26 2024 +0000 |
tree | 0600476e08346335de383129990bc4ed3cb76f23 | |
parent | ba5f8a43d6fb746fe9e793300922a50b6086536a [diff] |
Replace "flipY" with "mirrored" in ExternalTextureDescriptor This change is related to chrome logic. In Chrome, VideoFrame usually extracts transform matrix in metadata to rotation enums and mirrored flag. Previous ExternalTexture in dawn has flipY attribute. But this attribute has been used in chrome only by GPUExternalTexture creation to pass mirrored flag. However, flipY is vertical flip while mirrored is horizontal flip. This CL add "mirrored" attribute in ExternalTextureDescriptor and mark "flipY" attribute as "deprecated" to align with video frame metadata. Bug: chromium:1523427, chromium:1514732 Change-Id: Ic1da854565e91a3e11e84ac3e9a93a5798acb1e8 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/172325 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Sunny Sachanandani <sunnyps@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Shaobo Yan <shaobo.yan@intel.com>
Dawn is an open-source and cross-platform implementation of the 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)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.