DefaultEglCoreFactory(sharedContext: EGLContext = EGL14.EGL_NO_CONTEXT)
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.