Index: src/gpu/gl/builders/GrGLProgramBuilder.cpp |
diff --git a/src/gpu/gl/builders/GrGLProgramBuilder.cpp b/src/gpu/gl/builders/GrGLProgramBuilder.cpp |
index 7af7e8c21588296f2dd901fe14703e20e41aeec4..a628febb6962336b0165dd750a1577f76686e5d1 100644 |
--- a/src/gpu/gl/builders/GrGLProgramBuilder.cpp |
+++ b/src/gpu/gl/builders/GrGLProgramBuilder.cpp |
@@ -313,11 +313,8 @@ void GrGLProgramBuilder::emitAndInstallProc(const GrGeometryProcessor& gp, |
SkSTArray<4, GrGLProcessor::TextureSampler> samplers(gp.numTextures()); |
this->emitSamplers(gp, &samplers, fGeometryProcessor); |
- SkSTArray<2, GrGLProcessor::TransformedCoords> coords; |
- |
- // TODO remove coords from emit code signature, probably best to use a struct here so these |
- // updates are less painful |
- fGeometryProcessor->fGLProc->emitCode(this, gp, key, outColor, inColor, coords, samplers); |
+ GrGLGeometryProcessor::EmitArgs args(this, gp, key, outColor, inColor, samplers); |
+ fGeometryProcessor->fGLProc->emitCode(args); |
// We have to check that effects and the code they emit are consistent, ie if an effect |
// asks for dst color, then the emit code needs to follow suit |