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