/* * Copyright 2022 Google LLC * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef skgpu_graphite_task_ComputeTask_DEFINED #define skgpu_graphite_task_ComputeTask_DEFINED #include "include/private/base/SkTArray.h" #include "src/gpu/graphite/task/Task.h" #include "src/gpu/graphite/task/TaskList.h" #include <memory> namespace skgpu::graphite { class DispatchGroup; /** * ComputeTask handles preparing and recording DispatchGroups into a series of compute dispatches * within a command buffer. It is guaranteed that dispatches within a DispatchGroup will be executed * sequentially. */ class ComputeTask final : public Task { … }; } // namespace skgpu::graphite #endif // skgpu_graphite_task_ComputeTask_DEFINED