docs: private void releaseEglResources() {
          mReadyForFrames = false;
          if (mInputWindowSurface != null) {
              mInputWindowSurface.release();
              mInputWindowSurface = null;
          }
          if (mFullScreen != null) {
              mFullScreen.release();
              mFullScreen = null;
          }
          if (mEglCore != null) {
              mEglCore.release();
              mEglCore = null;
          }
  
          mSurfaceTexture = null;
      }