commit | ea7d7fe2fc93894da531ba0f999165a837b3cba5 | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Wed Feb 28 00:23:17 2024 +0000 |
committer | Ben Clayton <bclayton@google.com> | Wed Feb 28 00:23:17 2024 +0000 |
tree | 669eee718c39f222586e55e12c87c17ca15d68d5 | |
parent | b951d3a1b90bbb4a52a905b71d862b189c8a57a8 [diff] |
[tint] Add support for scoped text spans Add operator() to TextStyle to produce a span of styled text. This span restores the old style after printing the values. Also change StyledText<<(StyledText) to restore the old style after printing the RHS. This removes a bunch of manual state restoration logic. Change-Id: Ib2f48dd4d65a31254e69fcdefa10fd0a3b56c959 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/176460 Reviewed-by: Antonio Maiorano <amaiorano@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.