class DefaultEglCore : EglCore
DefaultEglCore is an implementation of EglCore which uses EGL14 and OpenGLES2. OpenGLES3 has incompatibilities with AmazonChimeSDKMedia library.
<init> |
DefaultEglCore is an implementation of EglCore which uses EGL14 and OpenGLES2. OpenGLES3 has incompatibilities with AmazonChimeSDKMedia library. DefaultEglCore(releaseCallback: Runnable? = null, : EGLContext = EGL14.EGL_NO_CONTEXT) |
eglConfig |
Current used EGLConfig lateinit var eglConfig: EGLConfig |
eglContext |
A EGLContext which was created with eglDisplay and eglConfig, may or may not be the current context on the thread, users must call EGL14.eglMakeCurrent after creating a valid current surface. This may be passed to other components to share the context. var eglContext: EGLContext! |
eglDisplay |
Current initialized EGLDisplay var eglDisplay: EGLDisplay! |
eglSurface |
Current EGLSurface. Will likely be EGL14.EGL_NO_SURFACE on init. As EglCore does not include helper functions
users must create this value themselves, which is why it is defined as var eglSurface: EGLSurface! |
release |
Discards all resources held by this class, notably the EGL context. This must be called from the thread where the context was created. fun release(): Unit |