commit | 5394128fd07d63e9521db7c1ff140b5324ef68bf | [log] [tgz] |
---|---|---|
author | Stephen White <senorblanco@chromium.org> | Fri Aug 11 18:22:13 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Aug 11 18:22:13 2023 +0000 |
tree | 79ad4bae15a69e00a98aadcbc4b5b01a757ee297 | |
parent | 208e163f0bd9451f5be06e4c54d4fabbaf5b0bda [diff] |
Fix GLTextureWrappingTests: create a second GL device. It turns out that the existing tests still pass even if the relevant ANGLE extension is not requested in ContextEGL. The reason is that the tests were using the test's native::opengl::Device to create a GL texture, wrap it and send it back to the same device (and same EGL context). This works even without the extension, since the GL texture IDs match. A better idea (stolen from VulkanImageWrappingTests) is to create a second native::opengl::Device and create textures in its context. That way, the texture IDs will be unknown to the main Device unless the extension is requested. Bug: chromium:1414566 Change-Id: I134a5a8cb3724c8a6ccb65a26e328ea75b763c35 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/145560 Reviewed-by: Austin Eng <enga@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> 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.