abstract fun onRenderSurfaceSizeChanged(gl: GL10!, width: Int, height: Int): Unit
This corresponds to TextureView.SurfaceTextureListener#onSurfaceTextureSizeChanged(SurfaceTexture, int, int) and GLSurfaceView.Renderer#onSurfaceChanged(GL10, int, int).
gl - GL10!: GL10 for rendering.
width - Int: width The surface width in pixels.
height - Int: height The surface height in pixels.
abstract fun onRenderSurfaceSizeChanged(gl: GL10!, width: Int, height: Int): Unit
This corresponds to TextureView.SurfaceTextureListener#onSurfaceTextureSizeChanged(SurfaceTexture, int, int) and GLSurfaceView.Renderer#onSurfaceChanged(GL10, int, int).
gl - GL10!: GL10 for rendering.
width - Int: width The surface width in pixels.
height - Int: height The surface height in pixels.