aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrCommandBuilder.h
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2015-05-07 09:51:43 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-05-07 09:51:43 -0700
commite40d39725908d99d255496025411e5c9ca32663e (patch)
treeaf07d303a6b64b3da185829c7ef6895cdbf83464 /src/gpu/GrCommandBuilder.h
parent0acd0d33fd69b6603fa22f88fa45c96aa0907d4d (diff)
Isolate GrBufferAllocPools inside GrBatchTarget
This CL refactors the location of the GrBufferAllocPools so they reside entirely inside the GrBatchTarget. This is in preparation for making them use scratch resources. Review URL: https://codereview.chromium.org/1131553002
Diffstat (limited to 'src/gpu/GrCommandBuilder.h')
-rw-r--r--src/gpu/GrCommandBuilder.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gpu/GrCommandBuilder.h b/src/gpu/GrCommandBuilder.h
index 05c29fb014..eb51b5b721 100644
--- a/src/gpu/GrCommandBuilder.h
+++ b/src/gpu/GrCommandBuilder.h
@@ -11,19 +11,13 @@
#include "GrTargetCommands.h"
class GrInOrderDrawBuffer;
-class GrVertexBufferAllocPool;
-class GrIndexBufferAllocPool;
class GrCommandBuilder : ::SkNoncopyable {
public:
typedef GrTargetCommands::Cmd Cmd;
typedef GrTargetCommands::State State;
- GrCommandBuilder(GrGpu* gpu,
- GrVertexBufferAllocPool* vertexPool,
- GrIndexBufferAllocPool* indexPool)
- : fCommands(gpu, vertexPool, indexPool) {
- }
+ GrCommandBuilder(GrGpu* gpu) : fCommands(gpu) { }
virtual ~GrCommandBuilder() {}