Index: src/gpu/GrInOrderDrawBuffer.cpp |
diff --git a/src/gpu/GrInOrderDrawBuffer.cpp b/src/gpu/GrInOrderDrawBuffer.cpp |
index 35e71a910c1844d4016e3b829d1de5b7e2226f8b..f28a83f2b5ce809da3aaa56bebc9cbfa93338445 100644 |
--- a/src/gpu/GrInOrderDrawBuffer.cpp |
+++ b/src/gpu/GrInOrderDrawBuffer.cpp |
@@ -7,18 +7,13 @@ |
#include "GrInOrderDrawBuffer.h" |
-GrInOrderDrawBuffer::GrInOrderDrawBuffer(GrContext* context, |
- GrVertexBufferAllocPool* vertexPool, |
- GrIndexBufferAllocPool* indexPool) |
- : INHERITED(context, vertexPool, indexPool) |
- , fCommands(SkNEW_ARGS(GrInOrderCommandBuilder, (context->getGpu(), vertexPool, indexPool))) |
+GrInOrderDrawBuffer::GrInOrderDrawBuffer(GrContext* context) |
+ : INHERITED(context) |
+ , fCommands(SkNEW_ARGS(GrInOrderCommandBuilder, (context->getGpu()))) |
, fPathIndexBuffer(kPathIdxBufferMinReserve * sizeof(char)/4) |
, fPathTransformBuffer(kPathXformBufferMinReserve * sizeof(float)/4) |
, fPipelineBuffer(kPipelineBufferMinReserve) |
, fDrawID(0) { |
- |
- SkASSERT(vertexPool); |
- SkASSERT(indexPool); |
} |
GrInOrderDrawBuffer::~GrInOrderDrawBuffer() { |