Add some convenience getters to EglManager.
PiperOrigin-RevId: 581049412
This commit is contained in:
parent
edca85c5d3
commit
333125ac20
|
@ -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} */
|
/** Returns the managed {@link EGLContext} */
|
||||||
public EGLContext getContext() {
|
public EGLContext getContext() {
|
||||||
return eglContext;
|
return eglContext;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user