blob: 85d3bd026a352b6c01328cffeb4f7c0f6f809ffe [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_CommandBuffer_DEFINED
#define skgpu_CommandBuffer_DEFINED
#include "include/core/SkRefCnt.h"
namespace skgpu {
class Gpu;
class CommandBuffer : public SkRefCnt {
public:
~CommandBuffer() override {}
bool hasWork() { return fHasWork; }
protected:
CommandBuffer();
bool fHasWork = false;
private:
};
} // namespace skgpu
#endif // skgpu_CommandBuffer_DEFINED