#include "src/gpu/graphite/task/DrawTask.h"
#include "src/gpu/graphite/ScratchResourceManager.h"
#include "src/gpu/graphite/Texture.h"
#include "src/gpu/graphite/TextureProxy.h"
namespace skgpu::graphite {
DrawTask::DrawTask(sk_sp<TextureProxy> target) : … { … }
DrawTask::~DrawTask() = default;
Task::Status DrawTask::prepareResources(ResourceProvider* resourceProvider,
ScratchResourceManager* scratchManager,
const RuntimeEffectDictionary* rteDict) { … }
void DrawTask::onUseCompleted(ScratchResourceManager* scratchManager) { … }
Task::Status DrawTask::addCommands(Context* ctx,
CommandBuffer* commandBuffer,
ReplayTargetData replayTarget) { … }
}