| Index: src/gpu/GrDrawTarget.cpp
|
| diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp
|
| index 1be4598c52f99f61d9281f7ae588b1367a1613db..9cc98d24ed91f14f2ca3eb2926254b769e5a5fc1 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;
|
|
|