#include "gpu/command_buffer/service/gpu_task_scheduler_helper.h"
#include "gpu/command_buffer/client/cmd_buffer_helper.h"
#include "gpu/command_buffer/service/command_buffer_task_executor.h"
#include "gpu/command_buffer/service/scheduler_sequence.h"
#include "gpu/command_buffer/service/single_task_sequence.h"
namespace gpu {
GpuTaskSchedulerHelper::GpuTaskSchedulerHelper(
std::unique_ptr<SingleTaskSequence> task_sequence)
: … { … }
GpuTaskSchedulerHelper::GpuTaskSchedulerHelper(
gpu::CommandBufferTaskExecutor* command_buffer_task_executor)
: … { … }
GpuTaskSchedulerHelper::~GpuTaskSchedulerHelper() = default;
void GpuTaskSchedulerHelper::Initialize(
gpu::CommandBufferHelper* command_buffer_helper) { … }
void GpuTaskSchedulerHelper::ScheduleGpuTask(
base::OnceClosure callback,
std::vector<gpu::SyncToken> sync_tokens,
SingleTaskSequence::ReportingCallback report_callback) { … }
void GpuTaskSchedulerHelper::ScheduleOrRetainGpuTask(
base::OnceClosure task,
std::vector<SyncToken> sync_tokens) { … }
SequenceId GpuTaskSchedulerHelper::GetSequenceId() { … }
gpu::SingleTaskSequence* GpuTaskSchedulerHelper::GetTaskSequence() const { … }
}