26 Status status = fn(task.get());
43 Status status = this->visitTasks([&](
Task* task) {
44 return task->
prepareResources(resourceProvider, scratchManager, runtimeDict);
54 return this->visitTasks([&](
Task* task) {
55 return task->
addCommands(context, commandBuffer, replayData);
Task::Status addCommands(Context *, CommandBuffer *, Task::ReplayTargetData)
Task::Status prepareResources(ResourceProvider *, ScratchResourceManager *, const RuntimeEffectDictionary *)
virtual Status addCommands(Context *, CommandBuffer *, ReplayTargetData)=0
virtual Status prepareResources(ResourceProvider *, ScratchResourceManager *, const RuntimeEffectDictionary *)=0
#define TRACE_EVENT1(category_group, name, arg1_name, arg1_val)