commit | 3c44ba8376b389553ce4abc1bf6d8414e1cccbdb | [log] [tgz] |
---|---|---|
author | Stephen White <senorblanco@chromium.org> | Tue Mar 29 12:24:16 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Mar 29 12:24:16 2022 +0000 |
tree | 4d4113a0833936c623dbae70f9ef85a6a02586a6 | |
parent | e690a6654a733b3e3ebf8edaff16b9a21de66ec0 [diff] |
OpenGL: refactor texture allocation. Move texture allocation in an AllocateTexture() local. Use the GL target to determine the choice of allocation call, not the Dawn TextureDimension. This leaves TargetForTexture() and TargetForTextureViewDimension() as the authorities on Dawn -> GL conversion. Change-Id: Ia31fbba9a8e71a9ce8dd9c89676dbc51d8848bb5 Bug: dawn:593 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/85080 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Stephen White <senorblanco@chromium.org>
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.