Skip to content

Add Hgi functions to get and set default backend #3604

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

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

brechtvl
Copy link
Contributor

Description of Change(s)

This may be used by the host application to set the preferred backend on startup, and then plugins can follow it.

It also works around an issue where Storm calls Hgi::IsSupported without specifying a backend, which fails when the host application uses Vulkan and has no OpenGL context.

Fixes Issue(s)

Checklist

This may be used by the host application to set the preferred backend, and
then plugins can follow it.

It also works around an issue where Storm calls Hgi::IsSupported without
specifying a backend, which may fail when the host application uses Vulkan
and the default OpenGL backend does not work.
@brechtvl brechtvl mentioned this pull request Apr 18, 2025
2 tasks
@jesschimein
Copy link
Collaborator

Filed as internal issue #USD-10920

(This is an automated message. See here for more information.)

@jesschimein
Copy link
Collaborator

/AzurePipelines run

3 similar comments
@tallytalwar
Copy link
Contributor

/AzurePipelines run

@tallytalwar
Copy link
Contributor

/AzurePipelines run

@jesschimein
Copy link
Collaborator

/AzurePipelines run

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