Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve Vulkan loading and organization
Load the Vulkan library at runtime and build our own dispatch table. This alleviates the need for DYLD_FALLBACK_LIBRARY_PATH on Mac/MoltenVK, will allow us to continue targeting Android 21 (which doesn't have Vulkan libraries to link against), and removes our requirement for the $VULKAN_SDK environment variable during build. Split out the lower level functionality within PLSRenderContextVulkanImpl to a new "VulkanContext" class, which also hosts the Vulkan dispatch table. Instead of using Vulkan APIs directly to initialize our context, use the vk-bootstrap library. (We only incorporate this library for tests and path_fiddle; it's not part of the core renderer.) Split out the headless functionality from fiddle_context_vulkan into a separate class. We don't build GLFW on Android and will need a Vulkan context. Diffs= 46a3045ae Improve Vulkan loading and organization (#7873) Co-authored-by: Chris Dalton <[email protected]>
- Loading branch information