heifwriter/src/main/java/androidx/heifwriter/EglWindowSurface.java
public void makeCurrent() {
        if (!EGL14.eglMakeCurrent(mEGLDisplay, mEGLSurface, mEGLSurface, mEGLContext)) {
            throw new RuntimeException("eglMakeCurrent failed");
        }
    }
/**
     * Makes our EGL context and surface current.
     */
Makes our EGL context and surface current.
Makes our EGL context and surface current .
public void makeCurrent() {
        if (!EGL14.eglMakeCurrent(mEGLDisplay, mEGLSurface, mEGLSurface, mEGLContext)) {
            throw new RuntimeException("eglMakeCurrent failed");
        }
    }
public void makeCurrent ( ) { if ( ! EGL14 . eglMakeCurrent ( mEGLDisplay , mEGLSurface , mEGLSurface , mEGLContext ) ) { throw new RuntimeException ( "eglMakeCurrent failed" ) ; } }
Makes our EGL context and surface current.
Makes our EGL context and surface current .