submit

fun submit(syncCpu: Boolean)

Submit outstanding work to the gpu from all previously un-submitted flushes.

If the syncCpu flag is true this function will return once the gpu has finished with all submitted work.

For more information refer to skia GrDirectContext::submit(bool syncCpu) method.

Parameters

syncCpu

flag to sync cpu and gpu work submission