8#ifndef GrGLFinishCallbacks_DEFINED
9#define GrGLFinishCallbacks_DEFINED
51 bool empty()
const {
return fCallbacks.empty(); }
54 struct FinishCallback {
61 std::list<FinishCallback> fCallbacks;
struct __GLsync * GrGLsync
void * GrGpuFinishedContext
void(* GrGpuFinishedProc)(GrGpuFinishedContext finishedContext)
void add(GrGpuFinishedProc finishedProc, GrGpuFinishedContext finishedContext)
GrGLFinishCallbacks(GrGLGpu *gpu)
void callAll(bool doDelete)