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

APPLE: Disable presentation in UsdAppUtilsFrameRecorder #2391

Conversation

creijon
Copy link
Contributor

@creijon creijon commented Apr 19, 2023

Description of Change(s)

The UsdImagingGLEngine in UsdAppUtilsFrameRecorder has HdxPresentTask presentation enabled by default. When this is used in Metal this means that the openGL context is still required. Since the frame recorder doesn't present to the viewport we should disable this.

Addendum: the presentation flag is also reset to enabled if the renderer plugin is changed after the frame recorder is created, so it is now set to disabled then too.

Fixes Issue(s)

  • Requirement for openGL context when using the UsdAppUtilsFrameRecorder on Metal.
  • I have verified that all unit tests pass with the proposed changes
  • I have submitted a signed Contributor License Agreement

@sunyab
Copy link
Contributor

sunyab commented Apr 20, 2023

Filed as internal issue #USD-8254

@creijon creijon force-pushed the jon/dev/no_presentation_in_framerecorder branch 4 times, most recently from d28dfe6 to f0e0d9a Compare April 26, 2023 11:17
@creijon creijon force-pushed the jon/dev/no_presentation_in_framerecorder branch from f0e0d9a to 46c7988 Compare May 4, 2023 07:11
@creijon creijon force-pushed the jon/dev/no_presentation_in_framerecorder branch 2 times, most recently from fffc809 to 96723d7 Compare May 13, 2023 05:47
@creijon creijon force-pushed the jon/dev/no_presentation_in_framerecorder branch from 96723d7 to 914e367 Compare May 21, 2023 15:40
@pixar-oss pixar-oss merged commit d20ee35 into PixarAnimationStudios:dev Jun 7, 2023
@creijon creijon deleted the jon/dev/no_presentation_in_framerecorder branch June 7, 2023 20:01
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