| 5257 | #endif |
| 5258 | |
| 5259 | static |
| 5260 | void |
| 5261 | isFrameVaryingOrAnimated_impl(const EffectInstance* node, |
| 5262 | bool *ret) |
| 5263 | { |
| 5264 | if ( node->isFrameVarying() || node->getHasAnimation() || node->getNode()->getRotoContext() ) { |
| 5265 | *ret = true; |
| 5266 | } else { |
| 5267 | int maxInputs = node->getNInputs(); |
| 5268 | for (int i = 0; i < maxInputs; ++i) { |
| 5269 | EffectInstancePtr input = node->getInput(i); |
| 5270 | if (input) { |
| 5271 | isFrameVaryingOrAnimated_impl(input.get(), ret); |
| 5272 | if (*ret) { |
| 5273 | return; |
| 5274 | } |
| 5275 | } |
| 5276 | } |
| 5277 | } |
| 5278 | } |
| 5279 | |
| 5280 | bool |
| 5281 | EffectInstance::isFrameVaryingOrAnimated_Recursive() const |
no test coverage detected