Index: src/gpu/glsl/GrGLSLGeometryProcessor.cpp |
diff --git a/src/gpu/glsl/GrGLSLGeometryProcessor.cpp b/src/gpu/glsl/GrGLSLGeometryProcessor.cpp |
index ce4d8b66eab89351c82073aaf4cf54934a715cf4..ddbe8e133a81f55ca039c21621550c7496f9a764 100644 |
--- a/src/gpu/glsl/GrGLSLGeometryProcessor.cpp |
+++ b/src/gpu/glsl/GrGLSLGeometryProcessor.cpp |
@@ -96,33 +96,6 @@ void GrGLSLGeometryProcessor::emitTransforms(GrGLSLVertexBuilder* vb, |
} |
} |
-void GrGLSLGeometryProcessor::emitTransforms(GrGLSLVertexBuilder* vb, |
- GrGLSLVaryingHandler* varyingHandler, |
- const char* localCoords, |
- const TransformsIn& tin, |
- TransformsOut* tout) { |
- tout->push_back_n(tin.count()); |
- for (int i = 0; i < tin.count(); i++) { |
- const ProcCoords& coordTransforms = tin[i]; |
- for (int t = 0; t < coordTransforms.count(); t++) { |
- GrSLType varyingType = kVec2f_GrSLType; |
- |
- // Device coords aren't supported |
- SkASSERT(kDevice_GrCoordSet != coordTransforms[t]->sourceCoords()); |
- GrSLPrecision precision = coordTransforms[t]->precision(); |
- |
- SkString strVaryingName("MatrixCoord"); |
- strVaryingName.appendf("_%i_%i", i, t); |
- |
- GrGLSLVertToFrag v(varyingType); |
- varyingHandler->addVarying(strVaryingName.c_str(), &v, precision); |
- vb->codeAppendf("%s = %s;", v.vsOut(), localCoords); |
- |
- (*tout)[i].emplace_back(SkString(v.fsIn()), varyingType); |
- } |
- } |
-} |
- |
void GrGLSLGeometryProcessor::setupPosition(GrGLSLVertexBuilder* vertBuilder, |
GrGPArgs* gpArgs, |
const char* posName) { |