| 275 | } |
| 276 | |
| 277 | void |
| 278 | ViewerInstance::getFrameRange(double *first, |
| 279 | double *last) |
| 280 | { |
| 281 | double inpFirst = 1, inpLast = 1; |
| 282 | int activeInputs[2]; |
| 283 | |
| 284 | getActiveInputs(activeInputs[0], activeInputs[1]); |
| 285 | EffectInstPtr n1 = getInput(activeInputs[0]); |
| 286 | if (n1) { |
| 287 | n1->getFrameRange_public(n1->getRenderHash(), &inpFirst, &inpLast); |
| 288 | } |
| 289 | *first = inpFirst; |
| 290 | *last = inpLast; |
| 291 | |
| 292 | inpFirst = 1; |
| 293 | inpLast = 1; |
| 294 | |
| 295 | EffectInstPtr n2 = getInput(activeInputs[1]); |
| 296 | if (n2) { |
| 297 | n2->getFrameRange_public(n2->getRenderHash(), &inpFirst, &inpLast); |
| 298 | if (inpFirst < *first) { |
| 299 | *first = inpFirst; |
| 300 | } |
| 301 | |
| 302 | if (inpLast > *last) { |
| 303 | *last = inpLast; |
| 304 | } |
| 305 | } |
| 306 | } |
| 307 | |
| 308 | void |
| 309 | ViewerInstance::executeDisconnectTextureRequestOnMainThread(int index,bool clearRoD) |
nothing calls this directly
no test coverage detected