#include "src/gpu/graphite/task/ComputeTask.h"
#include "src/gpu/graphite/Buffer.h"
#include "src/gpu/graphite/CommandBuffer.h"
#include "src/gpu/graphite/ResourceProvider.h"
#include "src/gpu/graphite/compute/DispatchGroup.h"
namespace skgpu::graphite {
sk_sp<ComputeTask> ComputeTask::Make(DispatchGroupList dispatchGroups) { … }
ComputeTask::ComputeTask(DispatchGroupList dispatchGroups)
: … { … }
ComputeTask::~ComputeTask() = default;
Task::Status ComputeTask::prepareResources(ResourceProvider* provider,
ScratchResourceManager* scratchManager,
const RuntimeEffectDictionary* rtd) { … }
Task::Status ComputeTask::addCommands(Context* ctx,
CommandBuffer* commandBuffer,
ReplayTargetData rtd) { … }
}