commit | 0bbce22e8cb926fbd7331f45e518ab621abe7358 | [log] [tgz] |
---|---|---|
author | Colin Blundell <blundell@chromium.org> | Wed Jan 10 17:44:15 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jan 10 17:44:15 2024 +0000 |
tree | 95d904fffcc0a6680f23640efae2e39c73facd12 | |
parent | 9e39433391929a5370917140a9f953f18899fa05 [diff] |
[Mac] Move creation of per-plane TextureMTL objects to UtilsMetal This change will facilitate separating the two codepaths that currently call TextureMTL::InitializeFromIOSurface(): - Initialization when created from SharedTextureMemory - Initialization when created from an internally-created backing IOSurface By separating those two codepaths, we will be free to refactor the codepath for initialization when created from SharedTextureMemory to move creation (and eventual caching) of the TextureMTL objects inside SharedTextureMemory. There are no functional changes. Change-Id: Ib522e68c6d3a039173ba883b60a5048b3fb2734f Bug: dawn:2152, 1493854 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/168646 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Colin Blundell <blundell@chromium.org> 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.