flushAndSubmit

fun flushAndSubmit(surface: Surface, syncCpu: Boolean = false)