commit | 66572d9b4ad57b92bcd96eac1d8aee4457b7acf1 | [log] [tgz] |
---|---|---|
author | Sunny Sachanandani <sunnyps@chromium.org> | Mon Jan 27 11:58:09 2025 -0800 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jan 27 11:58:09 2025 -0800 |
tree | 7aa4ecf34060b3adef403c5227109b2df94a8ffd | |
parent | 307ae2c3e56b0557777248764828c191e03019da [diff] |
metal: Use default storage mode for IOSurface textures The best practice is to use the default storage mode which is "shared" on Apple GPUs and "managed" on non-Apple GPUs. Using a non-default storage mode could have implications on how IOAccelerator allocations are made for the IOSurface e.g. managed implies lack of coherence between CPU and GPU and needs to be explicitly synchronized - it's not clear if this can cause an extra allocation on Apple GPUs. Bug: 388872587 Change-Id: Ief7905593d08251b8f4626e5f14b06e6e98a3c6a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/223275 Auto-Submit: Sunny Sachanandani <sunnyps@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Sunny Sachanandani <sunnyps@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.