commit | 14281033e51d152d35d98caf0604bb565cf67e4c | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Tue Oct 25 13:03:36 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Oct 25 13:03:36 2022 +0000 |
tree | 9ce7531cd193751f85d7e9c00c89522fff58de52 | |
parent | 80b2312493d3a141796b7a770e51a55c2f26747a [diff] |
dawn: Fix OpenGL context creation for Nvidia / Linux Change 104120 enabled `EGL_EXT_create_context_robustness` to ensure that robustness is enabled for OpenGL. Despite listing `EGL_EXT_create_context_robustness` in the extension list, Nvidia linux drivers will error with `EGL_BAD_ATTRIBUTE` when `EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT` is specified when requesting an OpenGL context (ES works fine!) EGL promoted this extension to core in EGL 1.5, and requesting `EGL_CONTEXT_OPENGL_ROBUST_ACCESS` keeps Nvidia happy - so use this instead. Note: We already require EGL 1.5 for EGLImage. Change-Id: I6012773aef0d53b1d147228f40e0348865e98107 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/106884 Auto-Submit: Ben Clayton <bclayton@google.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Ben Clayton <bclayton@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.