Companion

object Companion

Functions

acquireGlRender
Link copied to clipboard
fun acquireGlRender()
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
getGlRenderIfExists
Link copied to clipboard
fun getGlRenderIfExists(): Unit?
hashCode
Link copied to clipboard
open override fun hashCode(): Int
postToMainThread
Link copied to clipboard
fun postToMainThread(runnable: () -> Unit): Boolean

Run Ui operation on the main thread at the next UI Frame.

fun postToMainThread(runnable: ThreadUtils.MainThreadRunnable)
runOnMainThread
Link copied to clipboard

Run Ui operation on the main thread at the next UI Frame or instant if the execution thread already the main thread.

fun runOnMainThread(runnable: ThreadUtils.MainThreadRunnable)
saveReleaseGlRender
Link copied to clipboard
fun saveReleaseGlRender()
syncWithMainThread
Link copied to clipboard

Run Ui operation on the main thread at the next UI Frame or instant if the execution thread already the main thread.

fun <T> syncWithMainThread(runnable: () -> T): T
thisIsUiThread
Link copied to clipboard

Check if this is the Ui thread.

fun thisIsUiThread(): Boolean
toString
Link copied to clipboard
open override fun toString(): String

Properties

CPU_CORE_COUNT
Link copied to clipboard
val CPU_CORE_COUNT: Int
glRender
Link copied to clipboard
val glRender: GLThread
worker
Link copied to clipboard
val worker: ThreadUtils