commit | 649d41ff57d247574f002e626d8383cce4a517d3 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Wed May 29 12:49:10 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed May 29 12:49:10 2024 +0000 |
tree | 17db7ed601f4d12bf07a99d73fdddbe280ae6ebc | |
parent | aefe7d2223a97b0b1580b4f77e2dff40b6c56406 [diff] |
Add wgpu::SurfaceCapabilities::usages This deprecates the SurfaceCapabilities feature that was used before we merged swapchain in surface. The implementation of that feature is changed to use the new `usages` field instead. Also adds test of these new capabilities in tests. Bug: 42241264 Change-Id: Ie8a7ae3ab9256d380d6487063e8075f5e1a9718f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/189323 Reviewed-by: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: 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.