Index: src/gpu/GrTargetCommands.cpp |
diff --git a/src/gpu/GrTargetCommands.cpp b/src/gpu/GrTargetCommands.cpp |
index f2e696426f2dc08d65d1dd6b96c518b3f9ebcb0d..2194e08f0a44a37dd793a4338ea409bbb854fda6 100644 |
--- a/src/gpu/GrTargetCommands.cpp |
+++ b/src/gpu/GrTargetCommands.cpp |
@@ -43,29 +43,6 @@ void GrTargetCommands::flush(GrGpu* gpu, GrResourceProvider* resourceProvider) { |
fLastFlushToken = flushState.lastFlushedToken(); |
} |
-void GrTargetCommands::DrawPath::execute(GrBatchFlushState* state) { |
- if (!fState->fCompiled) { |
- state->gpu()->buildProgramDesc(&fState->fDesc, *fState->fPrimitiveProcessor, |
- *fState->getPipeline(), fState->fBatchTracker); |
- fState->fCompiled = true; |
- } |
- GrPathRendering::DrawPathArgs args(fState->fPrimitiveProcessor.get(), fState->getPipeline(), |
- &fState->fDesc, &fState->fBatchTracker, &fStencilSettings); |
- state->gpu()->pathRendering()->drawPath(args, this->path()); |
-} |
- |
-void GrTargetCommands::DrawPaths::execute(GrBatchFlushState* state) { |
- if (!fState->fCompiled) { |
- state->gpu()->buildProgramDesc(&fState->fDesc, *fState->fPrimitiveProcessor, |
- *fState->getPipeline(), fState->fBatchTracker); |
- fState->fCompiled = true; |
- } |
- GrPathRendering::DrawPathArgs args(fState->fPrimitiveProcessor.get(), fState->getPipeline(), |
- &fState->fDesc, &fState->fBatchTracker, &fStencilSettings); |
- state->gpu()->pathRendering()->drawPaths(args, this->pathRange(), fIndices, fIndexType, |
- fTransforms, fTransformType, fCount); |
-} |
- |
void GrTargetCommands::DrawBatch::execute(GrBatchFlushState* state) { |
fBatch->draw(state); |
} |