From e40d39725908d99d255496025411e5c9ca32663e Mon Sep 17 00:00:00 2001 From: robertphillips Date: Thu, 7 May 2015 09:51:43 -0700 Subject: 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 --- src/gpu/GrCommandBuilder.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/gpu/GrCommandBuilder.h') 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() {} -- cgit v1.2.3