Add some convenience getters to EglManager.

PiperOrigin-RevId: 581049412
This commit is contained in:
MediaPipe Team 2023-11-09 15:55:29 -08:00 committed by Copybara-Service
parent edca85c5d3
commit 333125ac20

View File

@ -114,6 +114,16 @@ public class EglManager {
}
}
/** Returns the managed {@link EGLDisplay}. */
public EGLDisplay getEglDisplay() {
return eglDisplay;
}
/** Returns the {@link EGL10}. */
public EGL10 getEgl() {
return egl;
}
/** Returns the managed {@link EGLContext} */
public EGLContext getContext() {
return eglContext;