post

fun <T> post(surface: GemSurfaceView, task: () -> T)

Posts the task on GL thread.

Parameters

surface

the GL thread surface view

task

the job that will be executed on the GL thread