commit | 25ed06a1d76c302016fa446fed908ba94adb57ad | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Fri Jun 07 14:43:35 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jun 07 14:43:35 2024 +0000 |
tree | cf9d08e274b003323cb6dd1d44f531b320be64e4 | |
parent | 0ecb5156ccf8a648a535d06e545c70f9636824c2 [diff] |
GL: Use typedef for EGL/GLGetProcProc and use __stdcall on win32 This removes a lot of function pointer type syntax from the GL backend, and make the OpenGLBackend.h type for the custom getProc more type safe as it is exactly when egl.h uses (including the __stdcall on Windows) Bug: 343870490 Change-Id: Icb78a12daacaac4ec6c47cdd7fd0d8ea47d8557f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/191860 Auto-Submit: Corentin Wallez <cwallez@chromium.org> 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.