commit | c5d4b4cd152730fb9e46a26e4a746bdc5cb83358 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Mon Jul 22 14:03:53 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jul 22 14:03:53 2024 +0000 |
tree | 069be3fe2b157f3ce840c27b41495f654b9d6ad4 | |
parent | 73359e27123ad6a8dee1a4841bf7b7ab3dd26047 [diff] |
opengl::DisplayEGL: Make the class RefCounted. This simplifies the ownership semantics, especially in the error case where PhysicalDevice creation fails because the PhysicalDevice previously destroyed the display, while a ContextEGL could still use it. ContextEGL now has a Ref to the display so this can't happen anymore. Bug: 337384802 Change-Id: I56adb577485159953b75af2a76ebf7f056f8f128 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/198676 Reviewed-by: Stephen White <senorblanco@chromium.org> Reviewed-by: Austin Eng <enga@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.