Index: src/gpu/GrDrawTarget.cpp |
diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp |
index d3c661ffcd8b806af3ae0971acc48295ff333a90..a1489c6a4211f6b7df13d8b736f9468e03c078d1 100644 |
--- a/src/gpu/GrDrawTarget.cpp |
+++ b/src/gpu/GrDrawTarget.cpp |
@@ -9,7 +9,6 @@ |
#include "GrDrawTarget.h" |
#include "GrBatch.h" |
-#include "GrBufferAllocPool.h" |
#include "GrContext.h" |
#include "GrDrawTargetCaps.h" |
#include "GrPath.h" |
@@ -30,14 +29,10 @@ |
#define DEBUG_INVAL_BUFFER 0xdeadcafe |
#define DEBUG_INVAL_START_IDX -1 |
-GrDrawTarget::GrDrawTarget(GrContext* context, |
- GrVertexBufferAllocPool* vpool, |
- GrIndexBufferAllocPool* ipool) |
+GrDrawTarget::GrDrawTarget(GrContext* context) |
: fContext(context) |
, fCaps(SkRef(context->getGpu()->caps())) |
, fGpuTraceMarkerCount(0) |
- , fVertexPool(vpool) |
- , fIndexPool(ipool) |
, fFlushing(false) { |
SkASSERT(context); |
} |
@@ -113,13 +108,6 @@ bool GrDrawTarget::setupDstReadIfNecessary(const GrPipelineBuilder& pipelineBuil |
} |
} |
-void GrDrawTarget::reset() { |
- fVertexPool->reset(); |
- fIndexPool->reset(); |
- |
- this->onReset(); |
-} |
- |
void GrDrawTarget::flush() { |
if (fFlushing) { |
return; |