Index: src/gpu/instanced/InstanceProcessor.cpp |
diff --git a/src/gpu/instanced/InstanceProcessor.cpp b/src/gpu/instanced/InstanceProcessor.cpp |
index 2b05ec1683776b305e72ff3f7d12e8f6d6163bfe..480155b683c849dfa75524d63aff832c32a9f2db 100644 |
--- a/src/gpu/instanced/InstanceProcessor.cpp |
+++ b/src/gpu/instanced/InstanceProcessor.cpp |
@@ -80,7 +80,10 @@ public: |
void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override; |
private: |
- void setData(const GrGLSLProgramDataManager&, const GrPrimitiveProcessor&) override {} |
+ void setData(const GrGLSLProgramDataManager& pdman, const GrPrimitiveProcessor&, |
+ FPCoordTransformIter&& transformIter) override { |
+ this->setTransformDataHelper(SkMatrix::I(), pdman, &transformIter); |
+ } |
class VertexInputs; |
class Backend; |
@@ -388,7 +391,7 @@ void GLSLInstanceProcessor::onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) { |
gpArgs->fPositionVar.set(positionType, "deviceCoords"); |
this->emitTransforms(v, varyingHandler, uniHandler, gpArgs->fPositionVar, localCoords, |
- args.fTransformsIn, args.fTransformsOut); |
+ args.fFPCoordTransformHandler); |
} |
//////////////////////////////////////////////////////////////////////////////////////////////////// |