commit | 96b8e79657dae45c4fc2821eef86b4497ce4e5c8 | [log] [tgz] |
---|---|---|
author | Colin Blundell <blundell@chromium.org> | Tue Jan 23 17:11:21 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jan 23 17:11:21 2024 +0000 |
tree | 8f221930318c4b6cff92e5aba5247d8d2ad7a4a0 | |
parent | a840d5132ac88153efb26c92a24178d7d68eddef [diff] |
[Mac] Create and hold MtlTextures in SharedTextureMemoryMTL Per validation constraints [1], the MtlTextures that TextureMTL creates when initialized from SharedTextureMemory must match the properties of the backing IOSurface that the SharedTextureMemoryMTL instance was created with. This means that we can create the MtlTextures in SharedTextureMemoryMTL on its creation and simply vend them out to any TextureMTL objects that that SharedTextureMemoryMTL instance is asked to create. This CL makes that change. [1] https://source.chromium.org/chromium/chromium/src/+/main:third_party/dawn/src/dawn/native/SharedTextureMemory.cpp;l=182-193?q=SharedTextureMemory.cpp&ss=chromium Change-Id: I5fa35b1e55b16436674dd3f730e613e6fcd9be9c Bug: dawn:2152, 1493854 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/171041 Commit-Queue: Colin Blundell <blundell@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
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.