commit | 65afc844c0176313c8f97c87d3c20b6671aa73ba | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Wed Mar 13 17:57:29 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Mar 13 17:57:29 2024 +0000 |
tree | 4b5b1c8463986f0fde1d3eecd1b5cda9366c9464 | |
parent | f9a5b712d89d18e969d08e1f7b90fd0c6197b56b [diff] |
[tint][utils] Fixes for TerminalIsDark() Only query the background color if stdin isatty, and tcgetattr() / tcsetattr() succeed. Otherwise the terminal will echo the terminal colors. Poll stdin, to ensure it doesn't block indefinitely. Fixed: tint:2199 Fixed: tint:2196 Change-Id: Id94374fed3d89993fd5262c4089c17bb01f590d6 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/178960 Reviewed-by: David Neto <dneto@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Auto-Submit: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@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.