#include "src/gpu/graphite/task/RenderPassTask.h"
#include "src/gpu/graphite/Caps.h"
#include "src/gpu/graphite/CommandBuffer.h"
#include "src/gpu/graphite/ContextPriv.h"
#include "src/gpu/graphite/DrawPass.h"
#include "src/gpu/graphite/Log.h"
#include "src/gpu/graphite/ResourceProvider.h"
#include "src/gpu/graphite/ScratchResourceManager.h"
#include "src/gpu/graphite/Texture.h"
#include "src/gpu/graphite/TextureProxy.h"
namespace skgpu::graphite {
sk_sp<RenderPassTask> RenderPassTask::Make(DrawPassList passes,
const RenderPassDesc& desc,
sk_sp<TextureProxy> target) { … }
RenderPassTask::RenderPassTask(DrawPassList passes,
const RenderPassDesc& desc,
sk_sp<TextureProxy> target)
: … { … }
RenderPassTask::~RenderPassTask() = default;
Task::Status RenderPassTask::prepareResources(ResourceProvider* resourceProvider,
ScratchResourceManager* scratchManager,
const RuntimeEffectDictionary* runtimeDict) { … }
Task::Status RenderPassTask::addCommands(Context* context,
CommandBuffer* commandBuffer,
ReplayTargetData replayData) { … }
}