commit | 71161fd2b1223f835e50aa026d48069d74567a2b | [log] [tgz] |
---|---|---|
author | Austin Eng <enga@chromium.org> | Wed Feb 07 15:26:29 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Feb 07 15:26:29 2024 +0000 |
tree | e104859459a20bf15f0168601bfe369c470279c1 | |
parent | d3d2d75cf96529362870b171a3241f2184899e7e [diff] |
Add cache functions to dawn::native::DawnCacheDescriptor Applications should expect these callbacks to never get called after the device lost callback fires. It is then safe to free the userdata. The old DawnCachingInterface retrieved from the platform will be deprecated. Bug: chromium:324003992 Change-Id: I7cff6814c6dc8ed32e117d8fe856a50d2b851cb5 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/173780 Commit-Queue: Austin Eng <enga@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Kai Ninomiya <kainino@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.