DefaultEglCoreFactory

class DefaultEglCoreFactory(sharedContext: EGLContext = EGL14.EGL_NO_CONTEXT) : EglCoreFactory

DefaultEglCoreFactory will create a root EglCore lazily if no shared context is provided. It will track all child EglCore objects and release the root core if all child cores are released.

Constructors

Link copied to clipboard
constructor(sharedContext: EGLContext = EGL14.EGL_NO_CONTEXT)

Functions

Link copied to clipboard
open override fun createEglCore(): EglCore

Create a new EglCore object