Closed GokulDas027 closed 2 years ago
I think I originally got this code from Sceneform. I don't know if there is any benefit to creating the OpenGL context. I don't think there is.
Okay, Thanks for the clarification.
@zirman I tried using filament instance without creating OpenGL context, And ArCore produced MissingGlContextException
Why are we explicitly creating an OpenGL Context for Filament Engine while I couldn't find it anywhere in Filament Sample Apps (passing context is optional and if not, filament uses default context).
Is there any performance or other benefits in creating it explicitly?