29 while (!fCallbacks.empty() && fGpu->
waitFence(fCallbacks.front().fFence)) {
34 auto finishCallback = fCallbacks.front();
36 fCallbacks.pop_front();
37 finishCallback.fCallback(finishCallback.fContext);
42 while (!fCallbacks.empty()) {
47 auto finishCallback = fCallbacks.front();
51 fCallbacks.pop_front();
52 finishCallback.fCallback(finishCallback.fContext);
void * GrGpuFinishedContext
void(* GrGpuFinishedProc)(GrGpuFinishedContext finishedContext)
void add(GrGpuFinishedProc finishedProc, GrGpuFinishedContext finishedContext)
GrGLFinishCallbacks(GrGLGpu *gpu)
void callAll(bool doDelete)
void deleteFence(GrGLsync)
FlKeyEvent uint64_t FlKeyResponderAsyncCallback callback