commit | 3a90bfd39f99d3532b6a169a9c2f82f7656f114d | [log] [tgz] |
---|---|---|
author | Jim Blackler <jimblackler@google.com> | Wed Aug 13 13:17:14 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Aug 13 13:17:14 2025 -0700 |
tree | 97084ec207043fbd13d602b8845f03bfb8183407 | |
parent | 394d460697242734ba302db1a7fdba7add7d92eb [diff] |
Kotlin: fix intermittent crashing in webGPU.close() I fixed a bug where the isClosing flag wasn't set (this can stop crashing in the event polling loop). Currently if device.close() (which calls wgpuDeviceRelease) is called this is kills the thread. I don't know why. On the other hand, if I don't call wgpuDeviceRelease I am able to bring down the surface, the instance and the adapter, which is an improvement. Bug: 428866400 Test: Run the demo at https: //dawn-android-samples.googlesource.com/dawn-demo/+/refs/heads/main Change-Id: I58cbbd5fbb090699c618cea49eb2082cdfca24a9 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/257155 Commit-Queue: Jim Blackler <jimblackler@google.com> Reviewed-by: Alfie Baxter <alfiebaxter@google.com> 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.