Index: src/gpu/gl/builders/GrGLProgramBuilder.cpp |
diff --git a/src/gpu/gl/builders/GrGLProgramBuilder.cpp b/src/gpu/gl/builders/GrGLProgramBuilder.cpp |
index e6e93e9f2871cba98353e10fb8f642df61759dea..84e4a99be2c2bc12ed783919af632bb728d06b9f 100644 |
--- a/src/gpu/gl/builders/GrGLProgramBuilder.cpp |
+++ b/src/gpu/gl/builders/GrGLProgramBuilder.cpp |
@@ -302,13 +302,12 @@ void GrGLProgramBuilder::emitAndInstallProc(const GrPrimitiveProcessor& gp, |
SkASSERT(!fGeometryProcessor); |
fGeometryProcessor = new GrGLInstalledGeoProc; |
- const GrBatchTracker& bt = this->batchTracker(); |
- fGeometryProcessor->fGLProc.reset(gp.createGLInstance(bt, *fGpu->glCaps().glslCaps())); |
+ fGeometryProcessor->fGLProc.reset(gp.createGLInstance(*fGpu->glCaps().glslCaps())); |
SkSTArray<4, GrGLProcessor::TextureSampler> samplers(gp.numTextures()); |
this->emitSamplers(gp, &samplers, fGeometryProcessor); |
- GrGLGeometryProcessor::EmitArgs args(this, gp, bt, outColor, outCoverage, samplers, |
+ GrGLGeometryProcessor::EmitArgs args(this, gp, outColor, outCoverage, samplers, |
fCoordTransforms, &fOutCoords); |
fGeometryProcessor->fGLProc->emitCode(args); |