| Index: src/gpu/GrCommandBuilder.h
|
| diff --git a/src/gpu/GrCommandBuilder.h b/src/gpu/GrCommandBuilder.h
|
| deleted file mode 100644
|
| index 29dcb3339ad55a5486562351642b27ef78aae04b..0000000000000000000000000000000000000000
|
| --- a/src/gpu/GrCommandBuilder.h
|
| +++ /dev/null
|
| @@ -1,41 +0,0 @@
|
| -/*
|
| - * Copyright 2015 Google Inc.
|
| - *
|
| - * Use of this source code is governed by a BSD-style license that can be
|
| - * found in the LICENSE file.
|
| - */
|
| -
|
| -#ifndef GrCommandBuilder_DEFINED
|
| -#define GrCommandBuilder_DEFINED
|
| -
|
| -#include "GrTargetCommands.h"
|
| -
|
| -class GrGpu;
|
| -class GrResourceProvider;
|
| -class GrBufferedDrawTarget;
|
| -
|
| -class GrCommandBuilder : ::SkNoncopyable {
|
| -public:
|
| - typedef GrTargetCommands::Cmd Cmd;
|
| -
|
| - static GrCommandBuilder* Create(GrGpu* gpu, bool reorder);
|
| -
|
| - virtual ~GrCommandBuilder() {}
|
| -
|
| - void reset() { fCommands.reset(); }
|
| - void flush(GrGpu* gpu, GrResourceProvider* rp) { fCommands.flush(gpu, rp); }
|
| -
|
| - virtual Cmd* recordDrawBatch(GrBatch*, const GrCaps&) = 0;
|
| -
|
| -protected:
|
| - typedef GrTargetCommands::DrawBatch DrawBatch;
|
| -
|
| - GrCommandBuilder() {}
|
| -
|
| - GrTargetCommands::CmdBuffer* cmdBuffer() { return fCommands.cmdBuffer(); }
|
| -private:
|
| - GrTargetCommands fCommands;
|
| -
|
| -};
|
| -
|
| -#endif
|
|
|