interface GlThreadRunner
abstract val eglContext: <ERROR CLASS> |
abstract fun freeMemory(): Unit |
|
abstract fun queueDestroy(obj: GlObject): Unit abstract fun queueDestroy(obj: GlObject, sync: Boolean): Unit |
|
abstract fun queueRebound(obj: GlObject): Unit |
|
abstract fun runWithGlContext(runnable: Runnable): Unit |
infix fun <A> A.andRecycle(b: <ERROR CLASS>): <ERROR CLASS> infix fun <A> A.andRecycle(b: Recyclable): <ERROR CLASS> |
|
fun <T> T.loopAsLongNotNull(block: (it: T) -> T?): T |
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. |