Index: src/gpu/batches/GrAAConvexPathRenderer.cpp |
diff --git a/src/gpu/batches/GrAAConvexPathRenderer.cpp b/src/gpu/batches/GrAAConvexPathRenderer.cpp |
index 224567acff61b293a19e2d609b4df2d4114f2445..a24a0c5945e1fc256521756074e38fb65272c45c 100644 |
--- a/src/gpu/batches/GrAAConvexPathRenderer.cpp |
+++ b/src/gpu/batches/GrAAConvexPathRenderer.cpp |
@@ -577,7 +577,8 @@ |
gpArgs->fPositionVar, |
qe.inPosition()->fName, |
qe.localMatrix(), |
- args.fFPCoordTransformHandler); |
+ args.fTransformsIn, |
+ args.fTransformsOut); |
SkAssertResult(fragBuilder->enableFeature( |
GrGLSLFragmentShaderBuilder::kStandardDerivatives_GLSLFeature)); |
@@ -613,8 +614,7 @@ |
} |
void setData(const GrGLSLProgramDataManager& pdman, |
- const GrPrimitiveProcessor& gp, |
- FPCoordTransformIter&& transformIter) override { |
+ const GrPrimitiveProcessor& gp) override { |
const QuadEdgeEffect& qe = gp.cast<QuadEdgeEffect>(); |
if (qe.color() != fColor) { |
float c[4]; |
@@ -622,7 +622,14 @@ |
pdman.set4fv(fColorUniform, 1, c); |
fColor = qe.color(); |
} |
- this->setTransformDataHelper(qe.fLocalMatrix, pdman, &transformIter); |
+ } |
+ |
+ void setTransformData(const GrPrimitiveProcessor& primProc, |
+ const GrGLSLProgramDataManager& pdman, |
+ int index, |
+ const SkTArray<const GrCoordTransform*, true>& transforms) override { |
+ this->setTransformDataHelper(primProc.cast<QuadEdgeEffect>().fLocalMatrix, pdman, index, |
+ transforms); |
} |
private: |