Index: src/gpu/gl/GrGLFragmentProcessor.cpp |
diff --git a/src/gpu/gl/GrGLFragmentProcessor.cpp b/src/gpu/gl/GrGLFragmentProcessor.cpp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d300da19f0b5eb2ca70d4b7a8665319e729f9902 |
--- /dev/null |
+++ b/src/gpu/gl/GrGLFragmentProcessor.cpp |
@@ -0,0 +1,18 @@ |
+/* |
+ * Copyright 2015 Google Inc. |
+ * |
+ * Use of this source code is governed by a BSD-style license that can be |
+ * found in the LICENSE file. |
+ */ |
+ |
+#include "GrGLFragmentProcessor.h" |
+#include "GrFragmentProcessor.h" |
+ |
+void GrGLFragmentProcessor::setData(const GrGLProgramDataManager& pdman, |
+ const GrFragmentProcessor& processor) { |
+ this->onSetData(pdman, processor); |
+ SkASSERT(fChildProcessors.count() == processor.numChildProcessors()); |
+ for (int i = 0; i < fChildProcessors.count(); ++i) { |
+ fChildProcessors[i]->setData(pdman, processor.childProcessor(i)); |
+ } |
+} |