docs: public EGLSurface createOffscreenSurface(int width, int height) {
          int[] surfaceAttribs = {
                  EGL14.EGL_WIDTH, width,
                  EGL14.EGL_HEIGHT, height,
                  EGL14.EGL_NONE
          };
          EGLSurface eglSurface = EGL14.eglCreatePbufferSurface(mEGLDisplay, mEGLConfig,
                  surfaceAttribs, 0);
          checkEglError("eglCreatePbufferSurface");
          if (eglSurface == null) {
              throw new RuntimeException("surface was null");
          }
          return eglSurface;
      }