Lines Matching refs:waitTask
776 sk_sp<GrWaitRenderTask> waitTask = sk_make_sp<GrWaitRenderTask>(GrSurfaceProxyView(proxy),
783 this->insertTaskBeforeLast(waitTask);
784 // In this case we keep the current renderTask open but just insert the new waitTask
785 // before it in the list. The waitTask will never need to trigger any resolves or mip
789 // fActiveOpsTask. Additionally we make the waitTask depend on all of fActiveOpsTask
790 // dependencies so that we don't unnecessarily reorder the waitTask before them.
794 // Make sure we add the dependencies of fActiveOpsTask to waitTask first or else we'll
795 // get a circular self dependency of waitTask on waitTask.
796 waitTask->addDependenciesFromOtherTask(fActiveOpsTask);
797 fActiveOpsTask->addDependency(waitTask.get());
801 // In this case we just close the previous RenderTask and start and append the waitTask
803 // there is a lastTask on the proxy we make waitTask depend on that task. This
805 // waitTask earlier and blocking more tasks.
807 waitTask->addDependency(lastTask);
809 this->setLastRenderTask(proxy.get(), waitTask.get());
811 this->appendTask(waitTask);
813 waitTask->makeClosed(fContext);