commit | e293241011d94ca2721fc5794c62373e4770b4a6 | [log] [tgz] |
---|---|---|
author | Peng Huang <penghuang@chromium.org> | Sat May 11 02:47:18 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sat May 11 02:47:18 2024 +0000 |
tree | 68728843c16fca9b8eaafcfb4f07a611d70083f8 | |
parent | 6a9fdd9964e90797a946c4adbb4de1087208df0f [diff] |
d3d11: SharedTextureMemoryD3D11Texture2D supports texture array On Windows, HW video decoder uses one texture 2d array (a texture with multiple layers) to store all decoded frames. So dawn has to support creating SharedTextureMemory from a texture 2d array object. Note: multi-layer is not multi-planar. multi-planar textures store channels in separate planar. Bug: chromium:335564847 Change-Id: I84a8063d101da82279fe621481d5608f02c393f9 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/186862 Reviewed-by: Austin Eng <enga@chromium.org> Auto-Submit: Peng Huang <penghuang@chromium.org> Commit-Queue: Peng Huang <penghuang@chromium.org> Reviewed-by: Loko Kung <lokokung@google.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.