commit | fb0bf70459c44b31419400598b592eaaae85f932 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Tue Feb 09 20:24:42 2021 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Tue Feb 09 20:24:42 2021 +0000 |
tree | 29676d0108d060b2e08600d98ce60ef0c9baacf5 | |
parent | b0ca30280ae9888d86b34714fa70ce6c2be15815 [diff] |
Vulkan: Fallback to XCB for Xlib surfaces Chromium builds the Vulkan loader without support Xlib (because it prefers XCB) which caused Xlib wgpu::SwapChain creation to fail on the Vulkan backend. This CL adds a fallback to use VK_KHR_xcb_surface if VK_KHR_xlib_surface isn't present. Bug: dawn:662 Change-Id: I0e0128ee6b5c75da03998dbae231d17e48bacc81 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/41180 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Austin Eng <enga@chromium.org> Auto-Submit: Corentin Wallez <cwallez@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.