Index: src/gpu/GrProcessor.cpp |
diff --git a/src/gpu/GrProcessor.cpp b/src/gpu/GrProcessor.cpp |
index e3cfa78a6dca692591fdf98786f6cca8074298f1..b990f9b2859b8806b2370dc79acda30840c0340e 100644 |
--- a/src/gpu/GrProcessor.cpp |
+++ b/src/gpu/GrProcessor.cpp |
@@ -135,6 +135,10 @@ void GrFragmentProcessor::addCoordTransform(const GrCoordTransform* transform) { |
SkDEBUGCODE(transform->setInProcessor();) |
} |
+void GrFragmentProcessor::registerChildProcessor(GrFragmentProcessor* child) { |
+ fChildProcessors.push_back(child); |
+} |
+ |
bool GrFragmentProcessor::hasSameTransforms(const GrFragmentProcessor& that) const { |
if (fCoordTransforms.count() != that.fCoordTransforms.count()) { |
return false; |