MCPcopy Create free account
hub / github.com/baldurk/renderdoc / PushInvoke

Method PushInvoke

qrenderdoc/Code/ReplayManager.cpp:424–438  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

422}
423
424void ReplayManager::PushInvoke(ReplayManager::InvokeHandle *cmd)
425{
426 if(m_Thread == NULL || !m_Thread->isRunning() || !m_Running)
427 {
428 if(cmd->selfdelete)
429 delete cmd;
430 else
431 cmd->processed.release();
432 return;
433 }
434
435 QMutexLocker autolock(&m_RenderLock);
436 m_RenderQueue.enqueue(cmd);
437 m_RenderCondition.wakeAll();
438}
439
440void ReplayManager::run(int proxyRenderer, const QString &capturefile, const ReplayOptions &opts,
441 RENDERDOC_ProgressCallback progress)

Callers

nothing calls this directly

Calls 3

isRunningMethod · 0.45
releaseMethod · 0.45
enqueueMethod · 0.45

Tested by

no test coverage detected