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
I believe that we only need to loop and call performUpdates.
I'm wondering how that will work with FxR. I'm not sure how to synchronize the refresh rate. Do we only need to make sure that SwapBuffers blocks long enough (vsync) or do we need to use some sort of callback from FxReality?
@MortimerGoro what do you think? When Gecko is running animations, does FxR schedule the redrawing of Gecko, or Gecko just composite as soon as it has a new frame?
The text was updated successfully, but these errors were encountered:
We shouldn't need synchronization or callback for FxR. It's handled automatically by SurfaceTextures as long as we use SurfaceTextures with the default constructor (not single buffered mode).
FxR loop just calls SurfaceTexture.updateTexImage() (which does the synchronization internally) and then renders the texture normally.
servo/support/android/apk/servoview/src/main/java/org/mozilla/servoview/ServoSurface.java
Line 178 in 021a24d
I believe that we only need to loop and call performUpdates.
I'm wondering how that will work with FxR. I'm not sure how to synchronize the refresh rate. Do we only need to make sure that SwapBuffers blocks long enough (vsync) or do we need to use some sort of callback from FxReality?
@MortimerGoro what do you think? When Gecko is running animations, does FxR schedule the redrawing of Gecko, or Gecko just composite as soon as it has a new frame?
The text was updated successfully, but these errors were encountered: