| /* |
| * 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)); |
| } |
| } |