class GLThread : TerminableThread, GlThreadRunner
A generic GL Thread. Takes care of initializing EGL and GL. Delegates to a Renderer instance to do the actual drawing. Can be configured to render continuously or on request.
All potentially blocking synchronization is done through the glThreadManager object. This avoids multiple-lock ordering issues.
GLThread()
A generic GL Thread. Takes care of initializing EGL and GL. Delegates to a Renderer instance to do the actual drawing. Can be configured to render continuously or on request. |
fun finalize(): void |
|
fun freeMemory(): void |
|
fun getEglConfig(): EGLConfig |
|
fun getEglContext(): NonExistentClass |
|
fun notifyLostContext(): void |
|
fun queueDestroy(obj: ly.img.android.opengl.canvas.GlObject): void fun queueDestroy(obj: ly.img.android.opengl.canvas.GlObject, sync: boolean): void |
|
fun queueEvent(r: java.lang.Runnable): void
Queue an "event" to be run on the GL rendering thread. |
|
fun queueRebound(obj: ly.img.android.opengl.canvas.GlObject): void |
|
fun run(loop: TerminableLoop): void |
|
fun runWithGlContext(runnable: java.lang.Runnable): void |