MCPcopy Create free account
hub / github.com/RenderKit/ospray / scheduleProcessing

Method scheduleProcessing

modules/mpi/ospray/fb/DistributedFrameBuffer.cpp:622–636  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

620}
621
622void DFB::scheduleProcessing(const std::shared_ptr<mpicommon::Message> &message)
623{
624 tasking::schedule([=]() {
625 auto *msg = (TileMessage *)message->data;
626 if (msg->command & MASTER_WRITE_TILE) {
627 throw std::runtime_error("#dfb: master msg should not be scheduled!");
628 } else if (msg->command & WORKER_WRITE_TILE) {
629 this->processMessage((WriteTileMessage *)msg);
630 } else if (msg->command & PROGRESS_MESSAGE) {
631 updateProgress((ProgressMessage *)msg);
632 } else {
633 throw std::runtime_error("#dfb: unknown tile type processed!");
634 }
635 });
636}
637
638void DFB::gatherFinalTiles()
639{

Callers

nothing calls this directly

Calls 1

processMessageMethod · 0.95

Tested by

no test coverage detected