Submits pending work to the GPU.
if true, waits for the submitted GPU work to finish before returning.
true