GLSurfaceView
GLSurfaceView is a View subclass provided by the Android framework that allows you to render OpenGL ES graphics. It simplifies the process of integrating OpenGL ES content into an Android application by managing the EGL context, surface, and rendering thread. When you use GLSurfaceView, you typically create a custom Renderer class that implements the GLSurfaceView.Renderer interface. This interface defines three key methods: onSurfaceCreated, onDrawFrame, and onSurfaceChanged.
The onSurfaceCreated method is called when the OpenGL ES surface is created, allowing you to perform one-time
GLSurfaceView handles the creation and management of a dedicated rendering thread, which ensures that OpenGL ES