Index: src/gpu/GrTestBatch.h |
diff --git a/src/gpu/GrTestBatch.h b/src/gpu/GrTestBatch.h |
index a165f4ab4e321789c416019a5d05c756f6406c87..aa0c63773e920b4f935aee1b9f224a83065dca4d 100644 |
--- a/src/gpu/GrTestBatch.h |
+++ b/src/gpu/GrTestBatch.h |
@@ -50,16 +50,6 @@ public: |
void generateGeometry(GrBatchTarget* batchTarget, const GrPipeline* pipeline) override { |
batchTarget->initDraw(fGeometryProcessor, pipeline); |
- // TODO this is hacky, but the only way we have to initialize the GP is to use the |
- // GrPipelineInfo struct so we can generate the correct shader. Once we have GrBatch |
- // everywhere we can remove this nastiness |
- GrPipelineInfo init; |
- init.fColorIgnored = fBatch.fColorIgnored; |
- init.fOverrideColor = GrColor_ILLEGAL; |
- init.fCoverageIgnored = fBatch.fCoverageIgnored; |
- init.fUsesLocalCoords = fBatch.fUsesLocalCoords; |
- fGeometryProcessor->initBatchTracker(batchTarget->currentBatchTracker(), init); |
- |
this->onGenerateGeometry(batchTarget, pipeline); |
} |