Lines Matching defs:task
16 static GrSurfaceProxy* first_target(GrRenderTask* task) { return task->target(0); }
68 // TODO: Establish real DAG dependencies for this during recording? E.g. when a task adds a
69 // target, search backward for the last task that uses the target and add a dep.
90 static bool task_cluster_visit(GrRenderTask* task, SkTInternalLList<GrRenderTask>* llist,
93 describe_task(task).c_str());
94 if (task->numTargets() != 1) {
95 CLUSTER_DEBUGF("Cluster: %d targets. Emitting barriers.\n", task->numTargets());
98 for (int j = 0; j < task->numTargets(); j++) {
99 if (lastTaskMap->find(task->target(0))) {
100 lastTaskMap->remove(task->target(0));
106 GrSurfaceProxy* target = first_target(task);
108 lastTaskMap->set(target, task);
133 // We can't reorder if any moved task depends on anything in the cluster.