OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * Copyright 2015 Google Inc. |
| 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. |
| 6 */ |
| 7 |
| 8 #include "GrGLFragmentProcessor.h" |
| 9 #include "GrFragmentProcessor.h" |
| 10 |
| 11 void GrGLFragmentProcessor::setData(const GrGLProgramDataManager& pdman, |
| 12 const GrFragmentProcessor& processor) { |
| 13 this->onSetData(pdman, processor); |
| 14 SkASSERT(fChildProcessors.count() == processor.numChildProcessors()); |
| 15 for (int i = 0; i < fChildProcessors.count(); ++i) { |
| 16 fChildProcessors[i]->setData(pdman, processor.childProcessor(i)); |
| 17 } |
| 18 } |
OLD | NEW |