commit | dc2ad6d066e0a997f0f41c3e9da14d76c5549aa0 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Mon Jul 08 17:25:54 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jul 08 17:25:54 2024 +0000 |
tree | 1f61b23eaaf1850bb575a8d7222f5768932219a1 | |
parent | 2234b2051644bbe216f36dfa3504ca60ca933ada [diff] |
Add synchronous debug functionality for X11. X11 errors can be very difficult to debug because of the asynchronous nature of the protocol. Add a helper that makes all X11 calls synchronous and triggers a breakpoint if an error is detect, such that looking at the backtrace gives hints as to what went wrong. Bug: None Change-Id: I5e92878a4cd62a426a8faf81beecbd596c47fcad Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/189703 Reviewed-by: Stephen White <senorblanco@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.