Initial delay with black screen SurfaceView #7239
Closed
paulweinbmw
started this conversation in
General
Replies: 1 comment
-
@romainguy do you know maybe why my surfaceview stays black but the model is loaded 100% & the frameback is called already many times? But only after some seconds the object appears |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey, I'm rendering a gltf file in a SurfaceView like in the examples. The rendering starts immediately I can see in the logs but the 3D object only becomes visible after a few seconds. Anyone knows if I need to invalidate, flush the buffers or something like that to get it working without delay?
`RenderedView(context: Context, attrs: AttributeSet) : SurfaceView(context, attrs), SurfaceHolder.Callback {
Beta Was this translation helpful? Give feedback.
All reactions