Skip to content

MtkViewDelegate and rendering function#43

Closed
CedricGuillemet wants to merge 1 commit into
BabylonJS:masterfrom
CedricGuillemet:RenderingMainThread
Closed

MtkViewDelegate and rendering function#43
CedricGuillemet wants to merge 1 commit into
BabylonJS:masterfrom
CedricGuillemet:RenderingMainThread

Conversation

@CedricGuillemet

@CedricGuillemet CedricGuillemet commented Jul 7, 2020

Copy link
Copy Markdown
Collaborator

These changes need this PR on BabylonNative : BabylonJS/BabylonNative#322

What's changed?

  • Graphics Init, resize and Rendering happen on the Main UI thread
  • Delegate for the MTKView that allows resize and rendering. The framerate is now in sync with the UI compositor locked at 60Hz
  • No more crash when resizing!

@CedricGuillemet CedricGuillemet marked this pull request as draft July 28, 2020 09:37
@CedricGuillemet

Copy link
Copy Markdown
Collaborator Author

Doesn't make sense to keep this PR. Closing.

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.

1 participant