blob: 23ccdd763e8a6a91426c228b439eb0f14744effc [file] [log] [blame]
/*
* Copyright 2021 Google LLC
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef skgpu_Task_DEFINED
#define skgpu_Task_DEFINED
#include "include/core/SkRefCnt.h"
namespace skgpu {
class CommandBuffer;
class Task : public SkRefCnt {
public:
~Task() override;
virtual void execute(CommandBuffer*) = 0;
protected:
Task();
private:
};
} // namespace skgpu
#endif // skgpu_Task_DEFINED