commit | 320ddf09618c05d3796f8504ecf8b1b9fb0b9d47 | [log] [tgz] |
---|---|---|
author | Gregg Tavares <gman@chromium.org> | Thu May 29 10:50:21 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu May 29 10:50:21 2025 -0700 |
tree | bf983481a3adc2cdbf3c9a4f8eca33c967a41718 | |
parent | f421e998c0cf5e678c7353f0f4d2e59b363261a7 [diff] |
Dawn.node: Make GPUDevice inherit from EventTarget The node addon Napi doesn't actually allow inheriting from a native or JavaScript class. Our workaround is to at least forward the functionality to a native EventTarget. Bug: 419128706 Depends-On: I4c6975ce38ae389cdfca4c95384ba5026a248e84 Change-Id: Ifeeb54bd20342c104b1e8bbd8253010bcf957d67 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/243915 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Gregg Tavares <gman@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.