Interface of android.opengl, in GLSurfaceView · GLSurfaceView.java · Android's reference
public interface EGLWindowSurfaceFactory
public abstract EGLSurface createWindowSurface(EGL10 egl, EGLDisplay display, EGLConfig config, Object nativeWindow) sourcepublic abstract void destroySurface(EGL10 egl, EGLDisplay display, EGLSurface surface) sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.