commit | c8144f2ab97c25c9b215a530ba59a8ae0678e882 | [log] [tgz] |
---|---|---|
author | Stephen Gutekanst <stephen@hexops.com> | Fri Aug 11 10:05:18 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Aug 11 10:05:18 2023 +0000 |
tree | 907e8f27bf21662de94c5e8d49e12f5f3a2faf20 | |
parent | 49ba6bde36a402da58d4f404bf5337d6b3cd0e29 [diff] |
Dynamically load libX11 at runtime Prior to this change, Dawn would link directly against libX11.so which meant libX11.so must be installed on the system. However, not all Linux systems have X11 installed, some distros are Wayland-only, and runtime resolution is generally nicer. This follows the existing XlibXcbFunctions implementation which was already largely doing this, and just ensures we do it for other X11 API usage as well, renaming it to X11Functions in passing. Fixes https://github.com/hexops/mach/issues/845 Based on an initial version of the commit from Stephen Gutekanst Bug: dawn:1904 Change-Id: I2eac95787249f3967f0361285469f2f6f556826d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/145882 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com>
Dawn is an open-source and cross-platform implementation of the work-in-progress 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)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.