commit | 6a7c84fdc2330e400e49259e33c91a9d87e45521 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Fri Jun 07 08:42:42 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jun 07 08:42:42 2024 +0000 |
tree | 09d720bc78fb2d0b86eb485d719f33576483fa72 | |
parent | 24ea34808ee9c09f8627e83b932e11d7396ad5e3 [diff] |
GL: Assume we only use EGL for now. Classes that are not specific to EGL already started having EGL-isms like the display or EGL function. There is a "Context" abstraction of EGL vs. GLX but only one implementation with ContextEGL. For future swapchain work we make the Device explicitly have a ContextEGL that can be queried (so that the swapchain can interact more precisely with it). In the future we could re-introduce the egl vs. glx context, potentially by adding two subdirectories egl/ and glx/ and refactoring code in opengl/ to not rely on it at all. Bug: 344814083 Bug: 42241500 Change-Id: I69215aaeb95f52016421337a3a2d6a6c4014707f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/192140 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.