You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code is currently calling FinishRenderingCurrentFrame immediately following StartRenderingCurrentFrame. FinishedRenderingCurrentFrame will immediately block waiting for the JS thread to finish doing its part. Ideally, these calls should be backwards. StartRenderingCurrentFrame should be called as soon as possible and FinishRenderingCurrentFrame should be called as late as possible. There should be a small gap between FinishRenderingCurrentFrame and the next StartRenderingCurrentFrame.
The text was updated successfully, but these errors were encountered:
See
BabylonReactNative/Modules/@babylonjs/react-native/shared/BabylonNative.cpp
Lines 116 to 119 in b3716d9
The code is currently calling
FinishRenderingCurrentFrame
immediately followingStartRenderingCurrentFrame
.FinishedRenderingCurrentFrame
will immediately block waiting for the JS thread to finish doing its part. Ideally, these calls should be backwards.StartRenderingCurrentFrame
should be called as soon as possible andFinishRenderingCurrentFrame
should be called as late as possible. There should be a small gap betweenFinishRenderingCurrentFrame
and the nextStartRenderingCurrentFrame
.The text was updated successfully, but these errors were encountered: