Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support both OpenGL and Vulkan Hgi from single build. #2564

Merged

Conversation

marsupial
Copy link
Contributor

@marsupial marsupial commented Aug 1, 2023

Description of Change(s)

Makes it possible to use hgiOpenGL or hgiVulkan from a single USD distribution, with the choice to use which happening at runtime.

Fixes Issue(s)

Currently only a single OpenGL, Vulkan, or Metal backend is built with USD. While the exclusionary nature of OpenGL/Metal makes sense for macOS, this is less true for Window or Linux and means an app cannot choose which to use at runtime in addition to making updating a render-delegate to be aware of hgiVulkan a bit more difficult than it needs to be.

Additionally, with proposals such as Autodesk DirectX backend, it makes sense to think of these interop plug-ins as a matrix where multiple backends can transfer to one-another as needed.

  • I have verified that all unit tests pass with the proposed changes
  • I have submitted a signed Contributor License Agreement

@jesschimein
Copy link
Contributor

Filed as internal issue #USD-8554

@pixar-oss pixar-oss merged commit 3292d42 into PixarAnimationStudios:dev Jan 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants