commit | 13b1da2fa2390c007eb537c313381db4b6f14f8f | [log] [tgz] |
---|---|---|
author | Loko Kung <lokokung@google.com> | Wed Feb 07 11:38:08 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Feb 07 11:38:08 2024 +0000 |
tree | 6950471ea89923f0fdb90bf289a68e16c9d1cdc2 | |
parent | d81d4516f5086fbe4bfa4b551c73b1f2cd98da48 [diff] |
Adds GetObjectType on wire objects to implement Release properly. - Before [obj].Reference and procs.[obj]Reference were the same but [obj].Release and procs.[obj]Release were different because the former didn't send the command to the client. This change standardizes the helpers to be the same as their respective procs so that we can also use them when we need to keep objects alive, i.e. in MapAsyncEvent. Change-Id: I69ef6ed4b667bbfd24a1f0ab89248b400c2061ae Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/173564 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Loko Kung <lokokung@google.com> 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.